Linux.com

Author Message
Joined: Oct 13, 2008
Posts: 4
Other Topics
Posted Nov 19, 2008 at 6:09:22 AM
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
Back to top Profile Email Website
Khabi
Joined Apr 21, 2008
Posts: 121

Other Topics
Posted: Nov 20, 2008 1:56:23 AM
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
Back to top Profile Email Website
mark
Joined Oct 13, 2008
Posts: 4

Other Topics
Posted: Dec 04, 2008 5:57:57 PM
Subject: Mount Question
Thanks Khabi. I appreciate the help. Mark
Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya