[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Accessing vfat fs as normal user



I've always had problems with writing to vfat as a normal user no matter what 
distro or computer.  Just one of the down sides of a file system that doens't 
do file permissions.

As I'm the only user on my computer I just mount it using the suid and guid 
options in the fstab.  But if several users were to need to access it then I 
would create a ground, add users to that group and then use the guid of that 
group when mounting.

Of course if you have many users this may be a bit of a pain to do and adding 
new users would need it doing each time.  But a simple changing of the new 
users command/script (not sure which) should make this much easier.

Just my 0.02.

Craig

On Saturday 03 May 2003 9:10 am, Don Nash wrote:
> > Hi,
> >
> > After forgetting to rewrite my /etc/apt/sources.list, I then did an
> > apt-get upgrade and wound up with  the unstable distribution.
> > Now I can't seem to access any of my dos partitions as user, only as
> > root. I have tried changing permissions as root using chmod for
> > these partitions with no luck. I have no problem accessing  my native
> > linux partitions.  Not shown in the fstab is my firewire drive , which
>
> I
>
> > manually mount as /dev/sdb  -t vfat /firewire.  I cannot access this
>
> as
>
> > a normal user either, only as root.  I have read the various mans for
> > chmod,chown, setuid, setfsuid,update-passwd and have scoured the
> > newsgroups and debian mailing lists for similar problems, to no avail.
> >
> > Attached is a copy of my fstab.   Aside from this relatively minor
> > problem, which I'm sure is the result of something dumb I did, the
> > distro runs pretty smoothly.  Any help would be greatly appreciated.
> >
> > Thanks,
> >
> > Don Nash
> >
> > # <file system> <mount point> <type> <options>                  <dump>
>
> <pass>
>
> > /dev/hda3       /             ext2   defaults,errors=remount-ro 0
>
> 1
>
> > /dev/hdb3       /mnt/linux3   ext2   defaults                   0
>
> 0
>
> > /dev/hdb5       /mnt/linux5   ext2   defaults                   0
>
> 0
>
> > /dev/hdb6       /mnt/linux6   ext2   defaults                   0
>
> 0
>
> > /dev/hdb4       none          swap   sw                         0
>
> 0
>
> > /dev/hda5       /dos3         vfat
>
> user,rw,noauto,umask=000             0      0
>
> > /dev/hda12      /dos2         vfat   user,rw,noauto             0
>
> 0
>
> > proc            /proc         proc   defaults                   0
>
> 0
>
> > /dev/hdd        /cdrom2       auto   user,noauto                0
>
> 0



Reply to: