You are not logged in.
Pages: 1
Hi So I just bought this microserver and yesterday I set up a 3 drive raid5 and mounted it at /mnt/raid5. However, as I'm quite new to linux I'm not sure if this is the right place to mount it. I want other users to be able to read/write to the dir so /mnt is the right place right? Then comes to thing with permissions. Atm I'm not able to write to the drive - how do I change that? Do I chmod on the dir or change settings in fstab?
#the raid in fstab
/dev/md0 /mnt/raid5 ext4 rw,noatime 0 0
Thanks
Last edited by re-mind (2017-06-18 19:23:40)
Mein.conf
Offline
This is indeed a question for the newbie-section. If anybody else stumbles upon this question I have chosen the following solution. NB I'm not sure if this is the best way to do this.
First i created a new usergroup called "raid"
groupadd raid
Then added my user to the group
gpasswd -a user raid
then I set the ownership of the dir
chown raid /mnt/raid5/stuff/
Then assigning the right permissions
chmod 770 /mnt/raid5/stuff
Now only the group "raid" has permission to read/write/execute.
Thats it.
Last edited by re-mind (2017-06-18 20:19:32)
Mein.conf
Offline
Pages: 1