How do multiuser group/directory permissions work?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have 2 users, lets say agus
and jenkins
user jenkins belongs to agus
group
$ grep 'agus' /etc/group
agus:x:1011:nexus,jenkins
I have a folder /home/agus/temp
, and I want both users to be able to rwx
in that folder, I executed
$ sudo chmod -R 775 /home/agus/temp/
But when I do that jenkins
user has no permissions to write in the folder, and if I execute this
$ sudo chmod --recursive a+rwx /home/agus/temp/
jenkins
has permissions but agus
does not
permissions
add a comment |Â
up vote
1
down vote
favorite
I have 2 users, lets say agus
and jenkins
user jenkins belongs to agus
group
$ grep 'agus' /etc/group
agus:x:1011:nexus,jenkins
I have a folder /home/agus/temp
, and I want both users to be able to rwx
in that folder, I executed
$ sudo chmod -R 775 /home/agus/temp/
But when I do that jenkins
user has no permissions to write in the folder, and if I execute this
$ sudo chmod --recursive a+rwx /home/agus/temp/
jenkins
has permissions but agus
does not
permissions
1
I'm proposing an edit to the title, to avoid confusion with the Jenkins software package.
â Time4Tea
Nov 10 '17 at 12:02
Some vital information is missing: who is the owner and who is the group owner of the temp directory?
â Johan Myréen
Nov 10 '17 at 12:38
Thank you @JohanMyréen the owner of that folder isagus
and the group isagus
,jenkins
only belongs to the group
â agusgambina
Nov 10 '17 at 12:42
Something looks off here. Could you include the commands that are failing for you?
â igal
Nov 10 '17 at 13:32
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have 2 users, lets say agus
and jenkins
user jenkins belongs to agus
group
$ grep 'agus' /etc/group
agus:x:1011:nexus,jenkins
I have a folder /home/agus/temp
, and I want both users to be able to rwx
in that folder, I executed
$ sudo chmod -R 775 /home/agus/temp/
But when I do that jenkins
user has no permissions to write in the folder, and if I execute this
$ sudo chmod --recursive a+rwx /home/agus/temp/
jenkins
has permissions but agus
does not
permissions
I have 2 users, lets say agus
and jenkins
user jenkins belongs to agus
group
$ grep 'agus' /etc/group
agus:x:1011:nexus,jenkins
I have a folder /home/agus/temp
, and I want both users to be able to rwx
in that folder, I executed
$ sudo chmod -R 775 /home/agus/temp/
But when I do that jenkins
user has no permissions to write in the folder, and if I execute this
$ sudo chmod --recursive a+rwx /home/agus/temp/
jenkins
has permissions but agus
does not
permissions
edited Nov 10 '17 at 12:07
Time4Tea
866119
866119
asked Nov 10 '17 at 11:57
agusgambina
1064
1064
1
I'm proposing an edit to the title, to avoid confusion with the Jenkins software package.
â Time4Tea
Nov 10 '17 at 12:02
Some vital information is missing: who is the owner and who is the group owner of the temp directory?
â Johan Myréen
Nov 10 '17 at 12:38
Thank you @JohanMyréen the owner of that folder isagus
and the group isagus
,jenkins
only belongs to the group
â agusgambina
Nov 10 '17 at 12:42
Something looks off here. Could you include the commands that are failing for you?
â igal
Nov 10 '17 at 13:32
add a comment |Â
1
I'm proposing an edit to the title, to avoid confusion with the Jenkins software package.
â Time4Tea
Nov 10 '17 at 12:02
Some vital information is missing: who is the owner and who is the group owner of the temp directory?
â Johan Myréen
Nov 10 '17 at 12:38
Thank you @JohanMyréen the owner of that folder isagus
and the group isagus
,jenkins
only belongs to the group
â agusgambina
Nov 10 '17 at 12:42
Something looks off here. Could you include the commands that are failing for you?
â igal
Nov 10 '17 at 13:32
1
1
I'm proposing an edit to the title, to avoid confusion with the Jenkins software package.
â Time4Tea
Nov 10 '17 at 12:02
I'm proposing an edit to the title, to avoid confusion with the Jenkins software package.
â Time4Tea
Nov 10 '17 at 12:02
Some vital information is missing: who is the owner and who is the group owner of the temp directory?
â Johan Myréen
Nov 10 '17 at 12:38
Some vital information is missing: who is the owner and who is the group owner of the temp directory?
â Johan Myréen
Nov 10 '17 at 12:38
Thank you @JohanMyréen the owner of that folder is
agus
and the group is agus
, jenkins
only belongs to the groupâ agusgambina
Nov 10 '17 at 12:42
Thank you @JohanMyréen the owner of that folder is
agus
and the group is agus
, jenkins
only belongs to the groupâ agusgambina
Nov 10 '17 at 12:42
Something looks off here. Could you include the commands that are failing for you?
â igal
Nov 10 '17 at 13:32
Something looks off here. Could you include the commands that are failing for you?
â igal
Nov 10 '17 at 13:32
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403733%2fhow-do-multiuser-group-directory-permissions-work%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
I'm proposing an edit to the title, to avoid confusion with the Jenkins software package.
â Time4Tea
Nov 10 '17 at 12:02
Some vital information is missing: who is the owner and who is the group owner of the temp directory?
â Johan Myréen
Nov 10 '17 at 12:38
Thank you @JohanMyréen the owner of that folder is
agus
and the group isagus
,jenkins
only belongs to the groupâ agusgambina
Nov 10 '17 at 12:42
Something looks off here. Could you include the commands that are failing for you?
â igal
Nov 10 '17 at 13:32