Letting users look at a read-only FS
I have the following /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto defaults,user,noauto 0 0
/dev/sr0 /dvd iso9660 defaults,ro,user,noauto 0 0
/dev/sr0 /cdrom iso9660 defaults,ro,user,noauto 0 0
/dev/sr1 /cdrw iso9660 defaults,ro,user,noauto 0 0
/dev/hda1 /windows ntfs defaults,ro,user,noauto 0 0
For my user accounts, I am able to mount /cdrom and /cdrw just fine. However,
I can't get my user accounts to read the /windows directory, even if I mount
it as a user. I've tried several different options in the fstab for /dev/
hda1, but I still can't let my user account read the device.
Once the device is mounted, I get the following:
coffee (steve)$ ll -d /windows/
dr-x------ 1 root root 8192 Jun 17 09:03 /windows/
but mounted under the same options in /etc/fstab, /cdrom looks like this:
coffee (steve)$ ll -d /cdrom/
dr-xr-xr-x 2 root root 2048 Apr 12 23:28 /cdrom/
Can somebody please tell me what's going on, and better yet, how to fix it?
Thanks.
--------------------------------------------------------------------------
Stephen W. Juranich sjuranic@ee.washington.edu
Electrical Engineering http://students.washington.edu/sjuranic
University of Washington http://ssli.ee.washington.edu/ssli
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: