Mount Question
Author Message
Posted : Wed, 19 November 2008 06:09:22
Subject : Mount Question
Hi, I have an old Dell Inspiron with Ubuntu Server installed. I copied files from a NAS to one of the partitions (VFAT) and each file gives read, write, and execute permission to everyone. Rather than using chmod to change the permissions, I have the filesystem set to mount automatically as read-only in the /etc/fstab file. The problem is that I sometimes need to write to that partition. Unmounting the filesystem hasn't been a problem but is there a mount command that I can use to mount the filesystem as read-write on the fly? I am having to edit the fstab file to make the filesystem read-write and then re-edit the fstab file to change it back to read-only and this is a pain. Thanks. Mark
Khabi
Posted : Thu, 20 November 2008 01:56:23
Subject : Mount Question
You can do: mount -o remount,rw /mountpoint should do exactly what you want :) to put it back to readonly: mount -o remount,ro /mountpoint
mark
Posted : Thu, 04 December 2008 17:57:57
Subject : Re: Mount Question
Thanks Khabi. I appreciate the help. Mark