Server based on Ubuntu
Server based on Ubuntu
Hello, I'm facing an issue on my Ubuntu server regarding group and owner permissions for certain directories. I have three users: mat, Brandon, and kylian. The folders in question are /servers/mmtp and /servers/Brandon. I've changed the home directories for each user to match their respective folders, and set the group memberships accordingly. Additionally, I've assigned ownership to /servers/mmtp for kylian and the same group for Brandon. However, I've configured the permissions to 0755 for both folders, allowing edit and delete access for all users. My goal is to ensure kylian can access everything, while mat can only access /servers/mmtp and Brandon can only access /servers/Brandon. The challenge is to prevent both users from editing the same directory despite having correct permissions.
The home directory for mat should be set as the owner, and similarly for Brandon. For kylian, ensure full access by assigning him to the groups mmtp and Brandon. Adjust the ownership of /servers to kylian, mmtp to mat, and Brandon to Brandon. Finally, configure all permissions to 770.
Functioning properly now. Adding new members like Mitchell is straightforward—just assign him to one of your groups to gain access to specific folders. You can also align each user’s home directory with another user’s, ensuring consistency across accounts.
Yeah, you don't need to make that folder the users' home folder to make that work. What we did before with the permissions works with any folder (except system folders, never change permissions on those) - a user's home folder is where that user's specific data is stored, messing with it can cause problems and in your case there's no reason to do it.