[wplug] Permissions quesion

Eric Cooper ecc at cmu.edu
Sat Jul 9 10:29:23 EDT 2005


On Fri, Jul 08, 2005 at 11:01:07PM -0400, Christopher DeMarco wrote:
> On Fri, Jul 08, 2005 at 07:50:38PM -0700, Brad Hoover wrote:
> 
> > Doesn't 444 give read-only access to everyone?

Yes, but directories also require execute permission in order to chdir
into them and access their contents.

> Try adding the "uid=,gid=" options to your mount command (or to
> /etc/fstab, if that's how you're doing it); this will cause the
> filesystem to be mounted with the specified permissions.  This is of
> course only useful if you fill those values in correctly (i.e. with
> the UID/GID of the user to whom you want to grant access).

The uid and gid options determine which user and group will own the
files, which is usually sufficient. You can use the umask option if
you want to change the permissions.

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list