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 a new external disk and just made an ext3 partition on it. I'm wondering what's the best way to set permissions on it (so that it's rw for certain users). I guess I could chmod ... /dev/sdb1 but I was thinking of a more dynamic way (kind of like uid= and gid= options for vfat and such).

share|improve this question
    
there are no uid= or gid= mount options for ext3. you'd configure permissions like you would for any other shared directory on the system -- make it owned by one group, and add all users to that group, or chmod the whole disk to 777, or use ACLs, or some other solution. –  quack quixote Mar 19 '10 at 17:46
    
the trouble comes when you move this external ext3 drive to another system; if users/UIDs/groups/GIDs aren't synced across the two systems, you could end up with trouble -- files are owned by UIDs and GIDS, not users and groups. this is what makes ext3 troublesome for external disks. –  quack quixote Mar 19 '10 at 17:47
    
Thanks for the info, this would've been perfectly fine as an answer btw. –  Matteo Riva Mar 19 '10 at 19:33

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.