Access to Linux (ext3) & Windows (FAT32) partitions (from Ubuntu 9.04)
Fred Roller
froller at tnclimited.com
Thu Aug 13 12:58:09 UTC 2009
On Thu, 2009-08-13 at 17:58 +0530, Jay Mistry wrote:
> find I can read from but not write to the vfat and ext3 partitions
> (all NTFS partns can be written to in addition to being read from) .
> From the fstab file (http://www.pastebin.ca/1526130), these partitions
> are -
>
> /dev/sda1 /media/Windows_L vfat defaults 0
> 0 /dev/sdb8 /media/FC10_Root ext3 defaults 0
> 0 /dev/sdb5 /media/FC10_Home ext3 defaults 0
> 0 /dev/sdb6 /media/Storage_1 ext3 defaults 0
> 0 /dev/sdb7 /media/Storage_2 ext3 defaults 0 0
>
> How can I enable writing to these, particularly as I would like to
> backup data to the Storage_1 & Storage_2 partitions.
>
You can try adding the umask to the fstab config:
/dev/sdb6 /media/Storage_1 ext3 defaults,umask=011 0 0
which would yeild r/w for user,group,others, and execute for owner:
ls -l /media/
should show something like:
drwxrw-rw- 2 froller froller 4096 2009-07-24 23:05 Storage_1
read:
man umask
man mount #type "/" ->"umask" to search the man page.
do a google query on "fstab options umask" this will yield some
information.
There are other ways of setting the permissions for these directories.
Just depends on how secure you want it.
--
Fred R.
www.fwrgallery.com
"Life is like Linux - simple; if you are fighting it, you are doing
something wrong."
More information about the ubuntu-users
mailing list