F5F Stay Refreshed Software Operating Systems Server based on Ubuntu

Server based on Ubuntu

Server based on Ubuntu

Pages (2): 1 2 Next
O
OmqDace
Posting Freak
798
11-30-2016, 05:32 PM
#1
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.
O
OmqDace
11-30-2016, 05:32 PM #1

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.

H
hi_love
Junior Member
11
12-06-2016, 10:34 AM
#2
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.
H
hi_love
12-06-2016, 10:34 AM #2

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.

L
lololoska
Member
122
12-07-2016, 08:45 PM
#3
Thank you!
L
lololoska
12-07-2016, 08:45 PM #3

Thank you!

O
Olisel
Junior Member
43
12-09-2016, 07:27 AM
#4
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.
O
Olisel
12-09-2016, 07:27 AM #4

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.

T
Tinypep
Member
56
12-11-2016, 12:45 AM
#5
Yes, it's possible, but you'll face challenges. What's your motivation?
T
Tinypep
12-11-2016, 12:45 AM #5

Yes, it's possible, but you'll face challenges. What's your motivation?

S
Skyguy_
Member
228
12-24-2016, 11:13 PM
#6
I’m setting up a group of Minecraft servers for your friends, allowing some to join one shared server while others can access separate ones.
S
Skyguy_
12-24-2016, 11:13 PM #6

I’m setting up a group of Minecraft servers for your friends, allowing some to join one shared server while others can access separate ones.

M
MrAwsome2
Junior Member
16
12-30-2016, 08:30 AM
#7
M
MrAwsome2
12-30-2016, 08:30 AM #7

S
SkyZzeurs
Member
65
12-31-2016, 09:25 PM
#8
They need to be grouped in one folder. Other users should not be able to reach each other's folders.
S
SkyZzeurs
12-31-2016, 09:25 PM #8

They need to be grouped in one folder. Other users should not be able to reach each other's folders.

D
DanielEmpire
Posting Freak
781
12-31-2016, 11:21 PM
#9
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.
D
DanielEmpire
12-31-2016, 11:21 PM #9

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.

L
Lafille
Junior Member
48
01-19-2017, 09:22 AM
#10
The change was made because they only allow access to the co responding server folder otherwise
L
Lafille
01-19-2017, 09:22 AM #10

The change was made because they only allow access to the co responding server folder otherwise

Pages (2): 1 2 Next