I am working on setup a wiki which should have users and group having read or write permission.Before that we were using simple write to all methodology.Now the challenge is this ... [by sunnysthakur]
on 01/07/2013 – Made popular on 01/07/2013
I was wondering if anyone could explain a bit on Linux permissions for me. I have two groups
Group A - Normal Users
Group B - File Changing group
I want group B to be pretty much exactly the same as group A other than group B are able to change 'message of the day' how could I set it so they have write access to MOTD and group A only have read access?
My problem is non-root users can't write to the share when it's mounted. But they can when it's not mounted. The group changes from users to root when I mount the share. And I can't figure out how force the group to remain as 'users' when the share mounts.
The idea is create a Linux and Samba user account, add the account to the group users.
I'm running Ubuntu Server 12.04 and I'm experiencing a problem with my Samba setup.
I've created some groups to easily grant permissions on my samba shares. Some shares have two groups as valid users. A read only group and a group with read write permissions on the files and directories.
On a Samba share we use for websites we force users to access as userX:www-data
We've intentionally limited permissions of the group to read and execute so only those dirs that really have a reason to be writeable by the group receive these permission.
We do that via a bash that sets: