Tim Lawler
Dabbler
- Joined
- Jan 15, 2014
- Messages
- 14
Hello,
I set up a volume (I'll call it SHARE for the sake of brevity), located at /mnt/share and set the owner to
"nobody" and group owner "sharedgroup"
I gave Owner Group and Other all r/w/e privileges.
I created a user called shareduser whose home directory is /nonexistent and whose pimary group id is shareduser.
I then created the group sharedgroup and added as the only member shareduser.
shareduser has a password.
So I now have this 16TB drive called SHARE that I can mount, I gave everyone the username shareduser and the password, and everyone can log on to SHARE and find all the information there.
That worked for the past 6 months, but now people want to have their own drives or folders that no one can have access to besides them. After some reading, I feel that I need to create datasets with different permissions.
The goal is to maximize storage as well. So I'd like to create one dataset per person in the lab and put these datasets in /mnt/share/datasetname.
I did a test, where I created a dataset "mylastname" in /mnt/share/mylastname. I created a user mylastname and a group mylastname.
I gave the dataset the same permissions as SHARE at first, and set no quotas on space usage so I could use the whole 16TB if I wanted to. I looked on my computer, and I saw a folder within SHARE called mylastname, and I have full access to it (remember, I mapped the network drive using the shareduser and password credentials).
So far so good- I then changed the permissions so that only the owner has r/w/e permissions on mylastname, and set the owner to mylastname.
I then tried to open the folder, and it said permission denied. That's more good news.
Here's the issue. I cannot figure out how to access that folder. I cannot mount it as a separate drive because it is within SHARE and I already have a user/pass set up so I can get at the shared drive itself.
How do I set it up so I still have access to the shared drive but I alone can get access to mylastname?
I would then set up about 12 theirlastname datasets and users for the other people in the lab so everyone has their own folder.
Thank you!
I set up a volume (I'll call it SHARE for the sake of brevity), located at /mnt/share and set the owner to
"nobody" and group owner "sharedgroup"
I gave Owner Group and Other all r/w/e privileges.
I created a user called shareduser whose home directory is /nonexistent and whose pimary group id is shareduser.
I then created the group sharedgroup and added as the only member shareduser.
shareduser has a password.
So I now have this 16TB drive called SHARE that I can mount, I gave everyone the username shareduser and the password, and everyone can log on to SHARE and find all the information there.
That worked for the past 6 months, but now people want to have their own drives or folders that no one can have access to besides them. After some reading, I feel that I need to create datasets with different permissions.
The goal is to maximize storage as well. So I'd like to create one dataset per person in the lab and put these datasets in /mnt/share/datasetname.
I did a test, where I created a dataset "mylastname" in /mnt/share/mylastname. I created a user mylastname and a group mylastname.
I gave the dataset the same permissions as SHARE at first, and set no quotas on space usage so I could use the whole 16TB if I wanted to. I looked on my computer, and I saw a folder within SHARE called mylastname, and I have full access to it (remember, I mapped the network drive using the shareduser and password credentials).
So far so good- I then changed the permissions so that only the owner has r/w/e permissions on mylastname, and set the owner to mylastname.
I then tried to open the folder, and it said permission denied. That's more good news.
Here's the issue. I cannot figure out how to access that folder. I cannot mount it as a separate drive because it is within SHARE and I already have a user/pass set up so I can get at the shared drive itself.
How do I set it up so I still have access to the shared drive but I alone can get access to mylastname?
I would then set up about 12 theirlastname datasets and users for the other people in the lab so everyone has their own folder.
Thank you!