Help!

[Samba] Cifs permission for mac guests

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba RSS
Next:  Accepted sylpheed 3.2.0-1 (source all amd64)  
Author Message
Vincent Tschanz
External


Since: Jun 29, 2012
Posts: 2



PostPosted: Fri Jun 29, 2012 6:10 am    Post subject: [Samba] Cifs permission for mac guests
Archived from groups: linux>samba (more info?)


Hi,

I have a FreeNAS server with a cifs share, accessible by all the lan
users (guest access)
Every one can access it and write in it.

When Mac OSX users are creating a file or a folder, they write it with
the following permissions :

rwxr-xr-x

Rhis only happen with mac users.

So the other users can't modify or delete theses files/folders.

How to configure my share if I want that all the files and folders have
rwxrwxrwx permissions?

Thank you

Here is my current smb.conf

cat /etc/local/smb.conf
[global]
encrypt passwords = yes
dns proxy = no
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
display charset = LOCALE
max log size = 10
syslog only = yes
syslog = yes
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
getwd cache = yes
guest account = guest
map to guest = Bad Password
obey pam restrictions = Yes
guest ok = yes
guest only = yes
netbios name = freenas
workgroup = WORKGROUP
server string = FreeNAS Share
use sendfile = yes
large readwrite = no
local master = yes
time server = yes
security = share
force user = guest
force group = guest
passdb backend = tdbsam:/var/etc/private/passdb.tdb
create mask = 0777
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
force create mode = 0776
force directory mode = 0777
[homes]
comment = Home Directories
valid users = %U
writable = yes
browseable = no
path = /mnt/backup/share/%U

[share]
path = /mnt/backup/share
printable = no
veto files = /.snap/.windows/
writeable = yes
browseable = yes
inherit owner = yes
inherit permissions = yes
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
vfs objects = recycle zfsacl
guest ok = yes
guest only = yes
inherit acls = Yes
map archive = No
map readonly = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
force create mode = 0776
force directory mode = 0777

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Christoph Sternberg
External


Since: Jun 29, 2012
Posts: 1



PostPosted: Fri Jun 29, 2012 7:10 am    Post subject: Re: [Samba] Cifs permission for mac guests [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Vincent Tschanz meinte:

>How to configure my share if I want that all the files and folders have
>rwxrwxrwx permissions?

Try "unix extensions = no" in smb.conf

http://osxdaily.com/2010/05/02/simple-fix-for-mac-os-x-10-6-3-samba-wr...-access

Christoph Sternberg */\

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Vincent Tschanz
External


Since: Jun 29, 2012
Posts: 2



PostPosted: Fri Jun 29, 2012 7:10 am    Post subject: Re: [Samba] Cifs permission for mac guests [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Le 29. 06. 12 11:47, Christoph Sternberg a écrit :
>
> Vincent Tschanz meinte:
>
>> How to configure my share if I want that all the files and folders have
>> rwxrwxrwx permissions?
>
> Try "unix extensions = no" in smb.conf
>
> http://osxdaily.com/2010/05/02/simple-fix-for-mac-os-x-10-6-3-samba-wr...-access
>
> Christoph Sternberg */\
>

It seems to work. Thank you!


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum