[Samba] permissions keeping changing

Jeremy Allison jra at samba.org
Tue Dec 4 17:10:11 MST 2012


On Tue, Dec 04, 2012 at 06:12:36PM -0500, Bill Brunt wrote:
> I've got a share where I needed the permissions to be 770 and I think an Apple Mac computer is connecting to a Samba share and changing the permissions each day.
> 
> At the end of the day, I'll set permissions to:
> 
> root at backblaze000002:/share1/QuinceCt/.TemporaryItems# ls -la
> total 12
> drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare   16 Nov 15 14:57 .
> drwxrwx--- 9 jlehmanjr qcbbwritetoquincectshare 4096 Nov 25 11:45 ..
> -rwxrwx--- 1 jlehmanjr qcbbwritetoquincectshare 4096 Nov 15 14:57 ._folders.501
> drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare    8 Nov 15 14:57 folders.501
> 
> And then in the morning, it will be:
> 
> root at backblaze000002:/share1/QuinceCt/.TemporaryItems# ls -la
> total 12
> drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare   16 Nov 15 14:57 .
> drwxrwx--- 9 jlehmanjr qcbbwritetoquincectshare 4096 Nov 25 11:45 ..
> -rwx------ 1 jlehmanjr qcbbwritetoquincectshare 4096 Nov 15 14:57 ._folders.501
> drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare    8 Nov 15 14:57 folders.501
> 
> Are there samba settings which can force permission settings to remain to something?

If you're using 3.6.x or below, check out the "force security mode"
and "force directory security mode" parameters. As I said, these
have been removed in 4.0.0.

Jeremy.


More information about the samba mailing list