I can mount the home directory with the USB (or at least it seems so), using:
Code: Select all
# mount -t vfat -o umask=777,gid=1000,uid=1000,user /dev/sda /home/
Code: Select all
$ cd /home/user
cd:cd:6: permission denied: /home/grml
Code: Select all
root@grml /home # ls -la
total 32
d--------- 3 grml grml 16384 Jan 1 1970 .
drwxr-xr-x 1 root root 180 Apr 3 20:17 ..
d--------- 22 grml grml 16384 Apr 3 19:16 grml
/etc/fstab:
Code: Select all
# /etc/fstab - static file system information
#
# This file was deployed via grml-live's
# ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/30-fstab script, using
# ${GRML_FAI_CONFIG}/config/files/etc/fstab/GRMLBASE
#
# <filesystem> <mountpoint> <type> <options> <dump> <pass>
proc /proc proc rw,nosuid,nodev,noexec 0 0
none /proc/bus/usb usbfs defaults,noauto 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
devpts /dev/pts devpts noauto,mode=0622 0 0
/dev/fd0 /media/floppy auto user,noauto,exec 0 0
/dev/external /media/external auto user,noauto,exec,rw,uid=grml,gid=grml 0 0
/dev/external1 /media/external1 auto user,noauto,exec,rw,uid=grml,gid=grml 0 0
/dev/cdrom /media/cdrom auto user,noauto,exec,ro 0 0
/dev/dvd /media/dvd auto user,noauto,exec,ro 0 0
# some other examples:
# /dev/hda1 /Grml ext3 dev,suid,user,noauto 0 2
# //1.2.3.4/pub /smb/pub smbfs defaults,user,noauto,uid=grml,gid=grml 0 0
# linux:/pub /beer nfs defaults 0 0
# tmpfs /tmp tmpfs size=300M 0 0
# none /proc/bus/usb usbfs defaults,nodev,noexec,nosuid,noauto,devgid=1001,devmode=664 0 0
# 192.168.1.101:/backups /media/nfs nfs defaults,user,wsize=8192,rsize=8192 0 0
#
# Warning! Please do *not* change any lines below because they are auto-generated by.
# If you want to disable rebuildfstab set CONFIG_FSTAB='no' in /etc/grml/autoconfig!
# See 'man grml-udev-rebuildfstab' for more details about the following entries.
overlay / overlay rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
# Added by GRML /dev/sda
/dev/usb-sda /media/usb-sda vfat noauto,user,dev,suid,exec,dmask=000,fmask=111,uid=1000,gid=users 0 0 # /dev/sda
Can anyone see what I'm missing here?