mount -o remount,rw as user
On a mostly Etch system with this line in /etc/fstab
/dev/hda5 /d msdos defaults,rw,user,umask=0001 0 0
user mike can mount the partition and write to it but not remount it
read only in any way I can discover.
Same with this line
/dev/hda5 /d msdos defaults,rw,users,umask=0001 0 0
mike@/deb40:~> mount -o remount,ro /d
mount: only root can do that
mike@/deb40:~> ls -l /dev/hda5
brw-rw---- 1 mike disk 3, 5 Feb 25 2005 /dev/hda5
This doesn't seem to matter nor did making mike the owner of the
directory (/d) that /dev/hda5 is mounted on.
I'd prefer to mount the partition ro and only remount it rw once a day
to copy some files from another computer via a script.
Any help would be appreciated.
TIA,
Mike
Reply to: