Dear All,
I would like to make a share which can be:
-read/write by the owner (user1)
-only read by the group (group1)
-can't read by others
I make the folder named share with permissions in ssh console:
chown owner1:group1 ./share
chmod 750 ./share
Then I check it with ls -l, and it is perfect.
But after I modify a user on the web interface, and push the apply button, it rewrites the group to the default user1, so ls -l:
drwxr-x--- user1 user1 share
And beacuse of this problem I had to make a much complicated solution for this kind of permission rule.
Could somebody please tell me why this strange behavior?
thank you
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Share permission rewrite after user changing
-
monty
- NewUser

- Posts: 13
- Joined: 02 Dec 2014 19:57
- Status: Offline
-
monty
- NewUser

- Posts: 13
- Joined: 02 Dec 2014 19:57
- Status: Offline
Re: Share permission rewrite after user changing
It is a total confusion. I realized that the shared folder's group name is fixed to the folder's owner's primary group....
Can it turn off or fix somehow?
Can it turn off or fix somehow?
-
noclaf
- experienced User

- Posts: 116
- Joined: 08 Dec 2013 12:37
- Status: Offline
Re: Share permission rewrite after user changing
by using chown you can change owner group
http://en.wikipedia.org/wiki/Chown
http://en.wikipedia.org/wiki/Chown
-
monty
- NewUser

- Posts: 13
- Joined: 02 Dec 2014 19:57
- Status: Offline
Re: Share permission rewrite after user changing
Yes, thank you very much, yes definitely I can change. Until I want to change a user via the web interface...
As I mentioned above, even if I use chown, after I modify a user and apply changings, nas4free write back the owner and the group (the shared folder group will be the shared owner's primary group of the folder)
As I mentioned above, even if I use chown, after I modify a user and apply changings, nas4free write back the owner and the group (the shared folder group will be the shared owner's primary group of the folder)
-
monty
- NewUser

- Posts: 13
- Joined: 02 Dec 2014 19:57
- Status: Offline
Re: Share permission rewrite after user changing
I find the solution:
just leave the homedir option empty...
if you fill the homedir, after you change/add a user, the webgui make all user settings, included the writeback the homedir permission to the owner and the owner's primary group...
just leave the homedir option empty...
if you fill the homedir, after you change/add a user, the webgui make all user settings, included the writeback the homedir permission to the owner and the owner's primary group...