mounting dos or vfat writable by regular users

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

 




Summary:

  Its been so long since I mounted a dos partition I've forgotten the
  incantations in /etc/fstab that will make it writable to users or at
  least designated users.

Details:

I've tried these with results of `mount' shown along with end result: 
fstab:
[...]
/dev/hda12              /mnt/vfat_32            vfat    noauto,user hgp 0 0
[...]

  mount shows:
  [mntent]: line 3 in /etc/fstab is bad
  mount: can't find /mnt/vfat_32 in /etc/fstab or /etc/mtab
==
fstab:
[...]
/dev/hda12              /mnt/vfat_32            vfat    noauto,user,hgp 0 0
[...]
   mount shows:
     /dev/hda12 on /mnt/vfat_32 type vfat (rw,noexec,nosuid,nodev,hgp)
  hgp cannot write to /mnt/vfat_32
==
fstab:
[...]
/dev/hda12              /mnt/vfat_32            vfat    noauto,userhgp 0 0
[...]
   mount shows: 
    /dev/hda12 on /mnt/vfat_32 type vfat (rw,userhgp)
   user hgp cannot write there
==========

Permissions are set like:
Unmounted
ls -ld /mnt/vfat_21
drwxr-xr-x    6 hgp   hgp         1024 Dec 31  1969 /mnt/vfat_32

mounted
ls -ld /mnt/vfat_21
drwxr-xr-x    6 root root         1024 Dec 31  1969 /mnt/vfat_32

And of course cannot be set to a user when mounted.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux