[Samba] permissions keeping changing
Bill Brunt
BBrunt at lehmanengineers.com
Wed Dec 5 12:34:46 MST 2012
I am using version 3.5.6 so I could use that but obviously don't want to negate it with an upgrade.
I'm thinking I must crazy to ask for "force directory security mode" parameter to come back?
-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Tuesday, December 04, 2012 7:10 PM
To: Bill Brunt
Cc: samba at lists.samba.org
Subject: Re: [Samba] permissions keeping changing
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