Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-25-2009, 10:07 PM   #1
Registered: Sep 2009
Posts: 46

Rep: Reputation: 15
Help mounting ext2 partition with write permissions

Hi, I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.

# Filesystem:   Mountpoint:     Type:       Options:               Dump: FSCK:
/dev/sda1       /               ext4        defaults               1     1
/dev/sda5       swap            swap        defaults               0     0
/dev/sda6       /mnt/shared     ext2        auto,user,exec,rw,sync 1     0
/dev/hda1       /mnt/ide        vfat        auto,user,exec,rw,sync 0     0
/dev/hda1 /mnt/ide vfat rw,sync,nosuid,nodev,relatime,uid=500,gid=500,fmask=0022,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1 0 0
/dev/sda6 /mnt/shared ext2 rw,sync,nosuid,nodev,relatime,errors=continue 0 0
I can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option"

Also, I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options? (e.x. if I try to mount /dev/sda6 with: mount -o auto,user,exec,rw,async. Will it mount with async or sync?)

Thanks in advance.

Last edited by Geraldsmod; 10-25-2009 at 10:15 PM.
Old 10-25-2009, 10:54 PM   #2
Registered: Sep 2009
Posts: 46

Original Poster
Rep: Reputation: 15

All I had to do was type:
sudo chmod -R a+w /mnt/shared
sudo chown -R username /mnt/shared
sudo chgrp -R groupname /mnt/shared


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting CIFS with write permissions alkos333 Slackware 5 03-02-2012 01:16 PM
After formatting partition NTFS can't write to ext2 emer_son Ubuntu 3 06-02-2008 12:22 PM
NFS share not mounting with read/write permissions syphoncode.32 Linux - Software 1 06-15-2007 03:46 AM
mounting windows share with write permissions gw1500se Mandriva 10 04-15-2007 04:10 PM
Mounting FAT32 with write permissions? 65_289 Linux - General 14 06-05-2002 04:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration