I have been trying to write onto a newly created partition My partition block is /dev/sda6
I am unable to write anything onto that partition. My Corresponding fstab file is this
/dev/disk/by-id/ata-WDC_WD5000BEVT-24A0RT0_WD-WXD1EA0TV384-part7 swap swap defaults 0 0
UUID=827020aa-bccf-493e-acdc-21dd8eb98639 / btrfs defaults 1 1
/dev/disk/by-id/ata-WDC_WD5000BEVT-24A0RT0_WD-WXD1EA0TV384-part8 /boot ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sda6 /home/hawk/gentoo ext4 users,gid=users,fmask=133,dmask=022 1 2
If I format it back to any other windows based file system such as fat I am able to both read and write
fmaskoption is too strict and gives no read permission on files togroupandother. Set it tofmask=000or just leave it out to getrw-permissions on all files. You shouldn't have executable permissions by default. – Mar 03 '12 at 14:25gidoption only accepts group id numbers, so it should readgid=100instead. And you should add therwoption (I forgot mentioning that). – Mar 03 '12 at 14:47rw. It's the default behaviour. It'srothat must be specified explicitly. However,usersshould beuser. – Alexios Mar 03 '12 at 17:10