[H-GEN] File & folder permissions

Robert Webb support at vivij.com
Thu Nov 17 19:14:42 EST 2005


-----Original Message-----
From: Sandra Mansell [mailto:fakungabubu at gmail.com] 
Sent: Friday, 18 November 2005 8:36 AM
To: General Email Humbug
Subject: Re: [H-GEN] File & folder permissions

Robert Webb wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Hi,
> 
>  
> 
> Could anyone recommend the most suitable way to handle file access control
> 
> for multiple users accessing the same folder on a debian testing install.
> 
> Which includes a 2.6.12 kernel (required for the sata_piix driver) and 
> samba 3.0.20b-Debian.
> 
>  
> 
> E.g. How do I give rights to a folder that requires this setup:

I had to do something similar so I did it this way:

added the following lines to the share specification

    force group = www-creator
    force user = www-user

[I've changed the names of the group and user just-in-case]

Then I added the users I wanted to be able to put/modify/etc files to 
that group so that they'd have full access rights and set the create 
mask and directory mask to 0755.

It took me a long time searching google to find those options too.

It might not be what you want, but it's an option to try.

Good luck.

Sandra.




Thanks Sandra,

V handy to know.
After some reading last night I'm thinking that if I can set the global
UMASK with "pam-umask" that will give enough control to leverage the group
permissions where needed.
There doesn't seem to be any other option for my system to control the umask
globally.
Apparently you can set up pam_umask to provide global umask settings based
on group membership. That would be very nice indeed.

Thanks again.
Rob





More information about the General mailing list