Fstab security and auto mount-SOLVED
Posted: Tue May 31, 2011 10:59 am
HI all,
I thought I had the security permissions and auto mount sorted. but maybe not!
The Fstab content are below, but I have a drive that I want to leave open for the kids and another that only adults can get into. Unfortunately, whilst they do auto mount the permissions don't work, suggestions anyone?
many thanks
Col
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=385ecae6-bd34-41c3-a524-974b8cd6d17f / ext3 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=c6876978-438f-4a1e-ae53-dacdf22d1e4a none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda2 / ext4 rw,errors=remount-ro 0 0
/dev/sdb2 /media/DataNew ntfs defaults,umask=000,uid=1000 0 0---No permissions here everyone full access
/dev/sdb1 /media/CMStore ntfs defaults,umask=002,uid=1000,gid=adults 0 0
/dev/sda4 /media/DataBackup ext4 defaults,umask=000,uid=1000 0 0----adults only access here
I thought I had the security permissions and auto mount sorted. but maybe not!
The Fstab content are below, but I have a drive that I want to leave open for the kids and another that only adults can get into. Unfortunately, whilst they do auto mount the permissions don't work, suggestions anyone?
many thanks
Col
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=385ecae6-bd34-41c3-a524-974b8cd6d17f / ext3 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=c6876978-438f-4a1e-ae53-dacdf22d1e4a none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda2 / ext4 rw,errors=remount-ro 0 0
/dev/sdb2 /media/DataNew ntfs defaults,umask=000,uid=1000 0 0---No permissions here everyone full access
/dev/sdb1 /media/CMStore ntfs defaults,umask=002,uid=1000,gid=adults 0 0
/dev/sda4 /media/DataBackup ext4 defaults,umask=000,uid=1000 0 0----adults only access here