Thanks for your time
Quote:
Originally Posted by mostlyharmless
Or am I missing the question entirely?
|
hmm, kind of, but no problem. Let me tell more background:
With samba I export data from the server which has there some users/groups and permissions set, as you mention. When I mount a samba share on the client, that doesn't matter because I can set all this at mount time completely arbitrary:
Code:
smbmount //192.168.5.1/my_share /mnt/host/ -o credentials=cred_host,uid=tet,gid=tet,file_mode=0644,dir_mode=0755,noserverino
As you see, I reset the user/group and permission to something useful on the client.
What I'm interested in, is the
file_mode=0644
if I omit it, the default is used which is 0755 or similar. But the problem is, it's applied to all files independent of the setting on the server.
I would like to know if samba exports the permission bits also somehow ? To get individual file permissions without having to
overwrite them with a default (all on the client side).
And, if I have to use
unix extensions = yes to get this feature or if there is another way ? (Although I'm not sure if it's supposed to work with this setting)