Samba ver 3.3.4
I am seeing odd behavior when writing files to a share with an OSX client.
No matter what changes I make in my smb.conf file the files written
by OSX do not match those written by a winxp client, example below:
drwxr-sr-x 2 test ldaptest 512 Jun 10 16:48 Mac-folder
drwxrws--- 2 test ldaptest 512 Jun 10 16:45 PC-folder
-rw-r--r-- 1 test ldaptest 616 Apr 30 09:35 mac-doc
-rwxrw---- 1 test ldaptest 0 Jun 10 16:45 pc-doc
I am not seeing the same behavior on a 2.x ver of Samba so I am
assuming that there is something different between the two Samba
versions and or I am missing something basic ?
[test2dir]
comment = test2
path = "/data/test2"
browseable = yes
public = no
printable = no
writable = yes
read only = no
force group = ldaptest
create mode = 0770
directory mode= 0770
force create mode = 0777
valid users = test
--
John Goubeaux
Systems Administrator
Gevirtz Graduate School of Education
UC Santa Barbara
Phelps Hall 3534
805 893-8190
John Goubeaux wrote:> Samba ver 3.3.4 > > I am seeing odd behavior when writing files to a share with an OSX client. > No matter what changes I make in my smb.conf file the files written > by OSX do not match those written by a winxp client, example below: > > > drwxr-sr-x 2 test ldaptest 512 Jun 10 16:48 Mac-folder > drwxrws--- 2 test ldaptest 512 Jun 10 16:45 PC-folder > -rw-r--r-- 1 test ldaptest 616 Apr 30 09:35 mac-doc > -rwxrw---- 1 test ldaptest 0 Jun 10 16:45 pc-doc > > > I am not seeing the same behavior on a 2.x ver of Samba so I am > assuming that there is something different between the two Samba > versions and or I am missing something basic ? > > > [test2dir] > comment = test2 > path = "/data/test2" > browseable = yes > public = no > printable = no > writable = yes > read only = no > force group = ldaptest > create mode = 0770 > directory mode= 0770 > force create mode = 0777 > valid users = test > > >Add this to the global section:> unix extensions = no