OSX file permission/ownership problem on samba server

Joined
Feb 7, 2010
Messages
2
Reaction score
0
Points
1
I'm running a samba server on a linux computer that works just fine with the windows machines in my network but when I connect from my mac (snow leopard) there is a problem with any files I create, they get different permissions than the system is set to.

for instance if I create a directory from windows it gets the permissions
Code:
drwxrwx---. 2 kholdstate smbusers  4096 2010-02-06 23:14 Stuff

if I create a directory from my mac the result is
Code:
drwxr-xr-x. 2 kholdstate     smbusers  4096 2010-02-07 14:13 untitled folder

I set up my server config like this:
Code:
        [LIBRARY]
        comment = Library
        path = /1000/LIBRARY
        writable = yes
        force group = smbusers
        create mask = 0660
        directory mask = 0770

I've googled this but only found the same problem but no solutions to it. Either way, any help would be greatly appreciated.
 
OP
K
Joined
Feb 7, 2010
Messages
2
Reaction score
0
Points
1
darn, I spent hrs trying to figure this one out and 5 minutes after making a posting I found the solution

in smb.conf global section put

unix extensions = no
 
Joined
Mar 4, 2011
Messages
1
Reaction score
0
Points
1
@Kholdstate

Thanks for the last comment, it fiexed my file permissons! unfortunately not my folder permissons.

When I copy a folder from my mac to the server all other users can't access the folder.

When I look at the rights on my mac it only says :"You can read and write"..

Any idears?

Thanks!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top