LearnLearnLearn
Patron
- Joined
- Apr 26, 2015
- Messages
- 320
I'm pulling my hair out on this. It's been posted a hundred times but I've yet to find why it's not working for me.
I have an nfs share that is used by a few web servers. Apache must own the files and directories.
I create a user and group called apache on truenas then assigned that to the nfs share in the pool.
The user id is 1000, the primary group is 'apache' and the aux group is builtin_users, apache.
The user has r/w/e and the group has r only and the share is specified in the user. I have 'Disable password' set to yes.
The pool, dataset is set to 'Passthrough'.
The database has apache owner, apache group, r/w/e with group having r only.
When I save this, I can see the share owner changing to 1000:1000.
Now, there is a user that already owns 1000 on most of the web servers so maybe this is why but all these files must be owned by apache, not the user id so what am I doing wrong? Days of reading and thinking I found an answer never solves the problem.
Can someone please shed some light.
I have an nfs share that is used by a few web servers. Apache must own the files and directories.
I create a user and group called apache on truenas then assigned that to the nfs share in the pool.
The user id is 1000, the primary group is 'apache' and the aux group is builtin_users, apache.
The user has r/w/e and the group has r only and the share is specified in the user. I have 'Disable password' set to yes.
The pool, dataset is set to 'Passthrough'.
The database has apache owner, apache group, r/w/e with group having r only.
When I save this, I can see the share owner changing to 1000:1000.
Now, there is a user that already owns 1000 on most of the web servers so maybe this is why but all these files must be owned by apache, not the user id so what am I doing wrong? Days of reading and thinking I found an answer never solves the problem.
Can someone please shed some light.
Last edited: