LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reiserfs partiion for ;Documents' (https://www.linuxquestions.org/questions/linux-newbie-8/reiserfs-partiion-for-%3Bdocuments-357006/)

ftgow 08-25-2005 05:31 PM

Reiserfs partiion for ;Documents'
 
I've created a reiserfs paritiion on my main 500 gig drive, around 350 gigabytes, for documents, and videos and such, I created it with mkreiserfs and can mount it as root,

But what I need to do is mount it to users can read and write to it. Before I used vfat on my old 120 gig, and used the uid, umask option. but I dont think reiser supports this, does it? I tried gid=6 (for disk group) and that wasnt an allowed option.

Please assist, thank you.

corfe 08-25-2005 05:42 PM

Try the "users" option when mounting, and make sure permissions on the mounted folder (and the files on it) are such that normal people can access them

zeus1981 08-25-2005 06:41 PM

use group and user permissions
 
I've run into this same problem. If you go with the users option in the /etc/fstab then each user has to unmount then remount the medium just to get access. This can be a problem with a multiuser box. These are the steps I took instead to create a folder instead the whole drive access to users. Something like this:

1) Get to root access

2) Create a group called: "usrupgrades". After checking the group id number is available add the following line to the end of /etc/group

3) Add users who should have access in /etc/group

4) On the root / of the 350Gig make a directory called extraspace

5) Change the group to usrupgrades

7) tighten permissions to just the group

# sudo su
# emacs /etc/group
# usrupgrades:x:3300:root,myuser,myseconduser
# cd /mnt/my350gig
# mkdir extraspace
# chgrp usrupgrades extraspace
# chmod 770 extraspace

This gives owner full access, group all access, and everone else none. If you wanted everyone access, then:

# chmod 777 extraspace

-Jon


All times are GMT -5. The time now is 01:11 AM.