On Tue, 23 Aug 2005, Chuck Hast wrote:
> On 8/23/05, John Pugh <jpugh@novell.com> wrote:
> > >>> On Tue, Aug 23, 2005 at 8:03 am, in message
> > <620c905705082305032bce2818@mail.gmail.com>, wchast@gmail.com wrote:
> > >
> > > In general the 9.3 install went well though there were some
> > > interesting differences from 9.1, the most outstanding was the fact
> > > that I no longer had access to the NTFS partition nor the VFAT
> > > partition as a common user, on 9.1 it gave me that without having to
> > > be root.
> >
> > Do you need to setup the fstab entry to include "users" since by
> > default root is the only one to have access and it was setup by
> > "someone" at some point - it only does what you tell it to do - it's a
> > computer!
>
> Hmm, here is my fstab file
...
> /dev/hda2 /media/playbox vfat defaults,uid=1000,gid=1000,umask=027,utf8
I found this under FAT (which VFAT includes) in mount(8):
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid
of the current process.)
umask=value
Set the umask (the bitmask of the permissions that are not
present). The default is the umask of the current process. The
value is given in octal.
You have umask=027. So the most permissive permissions (uck) are rwxr-x---.
To make it rwxr-xr-x you need a umask of 022. Set the uid and gid as you
like them.
OK, where's the NTFS partition? This was for NTFS in the same place:
uid=value, gid=value and umask=value
Set the file permission on the filesystem. By default, the
files are owned by root and not readable by somebody else. The
umask value is given in octal.
Same treatment, except (assuming you're mounting it ro) make the umask 222,
to exclude the write bit for everyone.
-- -eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactar PISCES: Try to avoid any Virgos or Leos with the Ebola virus. You are the Lord of the Dance, no matter what those idiots at work say. -- Weird Al, _Your Horoscope for Today_----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:32:47 EDT