Re: [Samba] Cifs permission for mac guests

2012-06-29 Thread Vincent Tschanz
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-write-access-problem/
> 
> 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


Re: [Samba] Cifs permission for mac guests

2012-06-29 Thread Christoph Sternberg

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-write-access-problem/

Christoph Sternberg */\

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


[Samba] Cifs permission for mac guests

2012-06-29 Thread Vincent Tschanz
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