TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:20274] User administration...



No...group perms take precedence over world perms.  If all the users are
in the same group (like "users") and the perms are group no access, then
they won't have any access to the files.  People not in that group however
should have access.

Adam Maloney
Systems Administrator
Sihope Communications

On 9 Aug 2000, Jon Schewe wrote:

> Adam Maloney <adamm@sihope.com> writes:
> 
> > I've seen this done a few different ways.
> > 
> > You give them each their own group, which is the same as their username.
> > Then the perms on the directory are 755 or 775 and the ownership is
> > luser:luser.  I've also seen people keep everyone in the same group (virt,
> > web, users, whatever) and set the perms as 705 so that the other users
> > can't read anything in the web directories.  This protects any code that's
> > being developed from prying eyes, but lets world (anyone not logged in)
> > see the pages via the web.
> 
> How does this work?  705 means user has full access, group has no access and
> anyone has read/execute, I think that's right for 5.  Isn't everyone on the
> system able to use the anyone permissions so that even though they're in hte
> group that has no access, because of the 0, they can still access the files
> because of the anyone access, the 5?
> 
> -- 
> Jon Schewe 
> http://eggplant.mtu.net/~jpschewe
> jpschewe@eggplant.mtu.net
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
>