Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have the following line in /etc/fstab

/dev/sdb3      /media/mybook    xfs     rw,auto,users                  0        0

The device is properly mounted and seen by root, but not by the normal user:

$ ls -al /media/
drwx-w---- 17  500 users 4096 2011-08-02 18:56 mybook

What should be changed in fstab to make it mount as rw for the normal user?

share|improve this question

1 Answer 1

up vote 0 down vote accepted
sudo chmod a=rwx /media/mybook

The permission bits are stored on disk with XFS, you cannot override them with mount options.

share|improve this answer
    
thank you, it really helped. I assume that I should probably chown it as well, as it stores uid (500) from the old system –  Guard Aug 6 '11 at 15:32

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.