Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question
I think your fmask option is too strict and gives no read permission on files to group and other. Set it to fmask=000 or just leave it out to get rw- permissions on all files. You shouldn't have executable permissions by default. – htor Mar 3 '12 at 14:25
Also, I think the gid option only accepts group id numbers, so it should read gid=100 instead. And you should add the rw option (I forgot mentioning that). – htor Mar 3 '12 at 14:47
No need to add rw. It's the default behaviour. It's ro that must be specified explicitly. However, users should be user. – Alexios Mar 3 '12 at 17:10

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.