[Samba] Strange permissions problems

Scott Mayo sgmayo at mail.bloomfield.k12.mo.us
Fri Aug 25 19:01:05 GMT 2006


Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Scott Mayo wrote:
> 
> 
>>Scott Mayo wrote:
>>
>>>I had this problem some last year and never got it figured out.  Now
>>>it is bugging me.  It seems that sometimes when a student writes
>>>his/her file to a directory, it will not keep the correct group.  It
>>>puts his/her main group as the group owner and that fouls things up. 
> 
> 
> Use the setgid bit on the parent directory.
> I also prefer 'inherit permissions' over the
> "create mask/mode" options.

I have the setgid bit set.  So you are saying to leave it the unix 
permissions and then just change the 'create mask/mode' to the 'inherit 
permissions'.  I'll give it a try and see what happens.

Thanks.

-- 
Scott Mayo
Technology Coordinator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549

Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.


More information about the samba mailing list