I have mounted a filesystem in a /mnt/storage but how do i make it accessible for all users not only root?

link|improve this question

50% accept rate
2  
With accessible, do you mean read-only access or read-write access to everyone? – Janne Pikkarainen Oct 29 '10 at 10:59
seems like a good question for unix SE also I'm guessing this depends on how it's mounted. is it a removable drive? what filesystem? nfs? samba? – xenoterracide Oct 29 '10 at 12:52
feedback

2 Answers

up vote 1 down vote accepted

If you mount the drive with the -o noacl option, everybody will have full read/write access.
If you only want people to be able to read the drive, chmod a+r /mnt/storage

link|improve this answer
feedback

You can specify the uid & gid options to identify the mounted volume's owner. In /etc/fstab you can use something like:

/dev/sdc1  /mnt/storage  ext4 uid=1000,gid=1000 1 2

or interactively:

sudo mount -o uid=1000,gid=1000 /dev/sdc1 /mnt/storage
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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