Access to Linux (ext3) & Windows (FAT32) partitions (from Ubuntu 9.04)
Jay Mistry
jaylinux53 at gmail.com
Thu Aug 13 15:37:22 UTC 2009
On Thu, Aug 13, 2009 at 6:28 PM, Fred Roller <froller at tnclimited.com> wrote:
> 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."
>
After going through some threads on ubuntuforums.org and some online
reading, I appended "user,umask=000" to the vfat partition and added 'user'
for the ext3 partitions. However that only enabled RW for the Windows VFAT
partition, the Linux ext3 partitions were readable but not writable.
Finally this post is what worked:
http://ubuntuforums.org/showpost.php?p=2489336&postcount=6 , ie doing <sudo
chmod 777 -R /media/Storage_1> for each of the ext3 partitions.
The fstab is at http://pastebin.ca/1528139
Thanks,
Jay
--
Fedora 10, Ubuntu 9.04 (i686)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090813/2f94cd09/attachment.html>
More information about the ubuntu-users
mailing list