permissions help

jpkl1a873

Dabbler
Joined
Jul 10, 2021
Messages
15
Ok so I have installed TrueNAS and have my drives/pools working.
but I made 4 users and want 2 of them restricted to 1 drives access only.
I have looked/searched and keep seeing all or nothing.
That doesn't seem right.

So I have 2 parent users going to everything.
And 2 kid users that I want to link only to the 1 drive/pool.

any help please
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hi,

You do not find anything about this because it is not only impossible, it would be very bad to have such a thing possible...

Please, re-assure us by telling all the details about your setup, your hardware, how you configured it, etc. I hope you will not have to destroy everything and restart from scratch but for you asking such a question, I am very worried that it may very well be the case....
 

jpkl1a873

Dabbler
Joined
Jul 10, 2021
Messages
15
Hi,

You do not find anything about this because it is not only impossible, it would be very bad to have such a thing possible...

Please, re-assure us by telling all the details about your setup, your hardware, how you configured it, etc. I hope you will not have to destroy everything and restart from scratch but for you asking such a question, I am very worried that it may very well be the case....
Well I have just installed TrueNas core.
Version:
TrueNAS-12.0-U5.1
It is a former Dell workstation.
installed 2 2tb drives and 1 4tb drive, then the boot is on a 250 gb ssd.
I have pooled the 2 2tb drives for the 2 adults.
And have set up folders in the other one for the kids.
In the user-
Home directory:
/mnt/Big-drive/Matthew

But when he logs in he can access every drive and folder.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
It is a former Dell workstation.

Often, this kind of hardware is not adapted to TrueNAS... What model ? How much RAM ?

I have pooled the 2 2tb drives for the 2 adults.
And have set up folders in the other one for the kids.

There are not that many reasons to go for more than 1 pool. Usually, it is done when one need different pool-level options for different use cases. Clearly, this is not the case here...

And have set up folders in the other one for the kids.

Single drive vDevs are to be avoided. Such a vDev will jeopardize your data more than hosting / protecting them.

If you add a 2nd 4TB drive to that, you can create two mirrors and one pool with a total of 6 TB of usable space. The pool will have reasonable redundancy. Remember that no single server, TrueNAS or other, can be more than a single point of failure. As such, you always need backups.

As for the access and permissions, they are managed differently depending how the share is created. In your case, it is probably because the permission are xx5 or xx7 that the user can access everything. You need permissions that end with 0 to forbid access to non-owners / non-group members.
 

jpkl1a873

Dabbler
Joined
Jul 10, 2021
Messages
15
Sorry for the slow reply.
Often, this kind of hardware is not adapted to TrueNAS... What model ? How much RAM ?

Dell Precison T1700 Has a I7-4790 @3.6 with 16gb ram

There are not that many reasons to go for more than 1 pool. Usually, it is done when one need different pool-level options for different use cases. Clearly, this is not the case here...

Single drive vDevs are to be avoided. Such a vDev will jeopardize your data more than hosting / protecting them.

If you add a 2nd 4TB drive to that, you can create two mirrors and one pool with a total of 6 TB of usable space. The pool will have reasonable redundancy. Remember that no single server, TrueNAS or other, can be more than a single point of failure. As such, you always need backups.

As for the access and permissions, they are managed differently depending how the share is created. In your case, it is probably because the permission are xx5 or xx7 that the user can access everything. You need permissions that end with 0 to forbid access to non-owners / non-group members.
Dell Precison T1700 Has a I7-4790 @3.6 with 16gb ram
I know 1 drive vs 2 is not ideal or recommended. Just wanted to test this all out before spending $$ on 4 identical drives.
Not sure where/how to change the permissions.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
As for the access and permissions, they are managed differently depending how the share is created.

Not sure where/how to change the permissions.

Because permissions are managed differently depending how the share was created, tell us how you created / configured your share first.
 
Top