User permissions for an ext2 partition
Hi Debian gurus,
I have a data partition mounted in /data. I want to read and write
the whole partition as a regular user. What should I put into my
/etc/fstab?
Right now I have:
_______________/etc/fstab___________________________________________
# <file system><mount point> <type> <options> <dump> <pass>
/dev/hda9 / ext2 defaults,errors=remount-ro 0 1
/dev/hda10 none swap sw 0 0
proc /proc proc defaults 0 0
/cdrom /cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/floppy /floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda6 /home ext2 rw 0 2
/dev/hda7 /usr/local ext2 rw 0 2
/dev/hda8 /mandrake ext2 rw 0 2
/dev/hda1 /win vfat user,showexec,quiet,umask=0 0 0
/dev/hda5 /data ext2 rw 0 2
______________________________________________________________________
The last line is the partition I want to read and write as a normal
user. Just like what I did with /dev/hda1, the umask option solves
this issue, but that is only for fat partitions. What is the
equivalent for ext2?
Thanks in advance. -- Viktor
Reply to: