How do multiuser group/directory permissions work?

The name of the pictureThe name of the pictureThe name of the pictureClash 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







share|improve this question


















  • 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 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














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







share|improve this question


















  • 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 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












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







share|improve this question














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









share|improve this question













share|improve this question




share|improve this question








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 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












  • 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 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







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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay