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.