can't cd to or mkdir in directory, despite 777 permissions

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I've got an account on a shared Linux host, with a home directory at /home/jstrout. My web files are served via a directory called /home/strout/strout.net .



Now I my wife wants to add some content in a subdirectory on my web site. I added her as a user to my account, which created a new login for her, with a home directory at /home/mmstrout on the same machine.



Now I want to give her a subdirectory under strout.net that she can write to, and I've been stymied at every turn. I don't have sufficient privileges to chown anything to her, so I've (temporarily) set 777 permissions on the directory:



drwxrwxrwx 23 jstrout pg42801 4096 Nov 20 12:33 strout.net



Yet from her account, I still can't cd into this directory, nor mkdir a subdirectory within it:



$ pwd
/home/mmstrout
$ mkdir /home/jstrout/strout.net/mstrout
mkdir: cannot create directory ‘/home/jstrout/strout.net/mstrout’: Permission denied
$ cd /home/jstrout/strout.net
-bash: cd: /home/jstrout/strout.net: Permission denied


What could be causing this, and how do I work around it? Could it have something to do with ACLs (which still seem like arcane magic to me)?







share|improve this question
















  • 3




    What is the output of ls -ld /home /home/jstrout ?
    – Mark Plotnick
    Nov 20 '17 at 21:46














up vote
2
down vote

favorite












I've got an account on a shared Linux host, with a home directory at /home/jstrout. My web files are served via a directory called /home/strout/strout.net .



Now I my wife wants to add some content in a subdirectory on my web site. I added her as a user to my account, which created a new login for her, with a home directory at /home/mmstrout on the same machine.



Now I want to give her a subdirectory under strout.net that she can write to, and I've been stymied at every turn. I don't have sufficient privileges to chown anything to her, so I've (temporarily) set 777 permissions on the directory:



drwxrwxrwx 23 jstrout pg42801 4096 Nov 20 12:33 strout.net



Yet from her account, I still can't cd into this directory, nor mkdir a subdirectory within it:



$ pwd
/home/mmstrout
$ mkdir /home/jstrout/strout.net/mstrout
mkdir: cannot create directory ‘/home/jstrout/strout.net/mstrout’: Permission denied
$ cd /home/jstrout/strout.net
-bash: cd: /home/jstrout/strout.net: Permission denied


What could be causing this, and how do I work around it? Could it have something to do with ACLs (which still seem like arcane magic to me)?







share|improve this question
















  • 3




    What is the output of ls -ld /home /home/jstrout ?
    – Mark Plotnick
    Nov 20 '17 at 21:46












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I've got an account on a shared Linux host, with a home directory at /home/jstrout. My web files are served via a directory called /home/strout/strout.net .



Now I my wife wants to add some content in a subdirectory on my web site. I added her as a user to my account, which created a new login for her, with a home directory at /home/mmstrout on the same machine.



Now I want to give her a subdirectory under strout.net that she can write to, and I've been stymied at every turn. I don't have sufficient privileges to chown anything to her, so I've (temporarily) set 777 permissions on the directory:



drwxrwxrwx 23 jstrout pg42801 4096 Nov 20 12:33 strout.net



Yet from her account, I still can't cd into this directory, nor mkdir a subdirectory within it:



$ pwd
/home/mmstrout
$ mkdir /home/jstrout/strout.net/mstrout
mkdir: cannot create directory ‘/home/jstrout/strout.net/mstrout’: Permission denied
$ cd /home/jstrout/strout.net
-bash: cd: /home/jstrout/strout.net: Permission denied


What could be causing this, and how do I work around it? Could it have something to do with ACLs (which still seem like arcane magic to me)?







share|improve this question












I've got an account on a shared Linux host, with a home directory at /home/jstrout. My web files are served via a directory called /home/strout/strout.net .



Now I my wife wants to add some content in a subdirectory on my web site. I added her as a user to my account, which created a new login for her, with a home directory at /home/mmstrout on the same machine.



Now I want to give her a subdirectory under strout.net that she can write to, and I've been stymied at every turn. I don't have sufficient privileges to chown anything to her, so I've (temporarily) set 777 permissions on the directory:



drwxrwxrwx 23 jstrout pg42801 4096 Nov 20 12:33 strout.net



Yet from her account, I still can't cd into this directory, nor mkdir a subdirectory within it:



$ pwd
/home/mmstrout
$ mkdir /home/jstrout/strout.net/mstrout
mkdir: cannot create directory ‘/home/jstrout/strout.net/mstrout’: Permission denied
$ cd /home/jstrout/strout.net
-bash: cd: /home/jstrout/strout.net: Permission denied


What could be causing this, and how do I work around it? Could it have something to do with ACLs (which still seem like arcane magic to me)?









share|improve this question











share|improve this question




share|improve this question










asked Nov 20 '17 at 21:06









Joe Strout

1111




1111







  • 3




    What is the output of ls -ld /home /home/jstrout ?
    – Mark Plotnick
    Nov 20 '17 at 21:46












  • 3




    What is the output of ls -ld /home /home/jstrout ?
    – Mark Plotnick
    Nov 20 '17 at 21:46







3




3




What is the output of ls -ld /home /home/jstrout ?
– Mark Plotnick
Nov 20 '17 at 21:46




What is the output of ls -ld /home /home/jstrout ?
– Mark Plotnick
Nov 20 '17 at 21:46










2 Answers
2






active

oldest

votes

















up vote
6
down vote













It's possible that the /home directories have 700 permissions rather than 755 permissions. This would mean that no user could traverse down the tree and back up to another user's /home






share|improve this answer




















  • Entirely plausible for a shared host
    – roaima
    Nov 20 '17 at 22:17

















up vote
0
down vote













You most likely need to change the permissions on one directory level higher to give her access to your home directory.



Can you execute chgrp? If so create a group you are both in and chngrp owner to your shared group. Make sure to add both of you to the group.



https://www.cyberciti.biz/faq/linux-setup-shared-directory/






share|improve this answer




















    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%2f405849%2fcant-cd-to-or-mkdir-in-directory-despite-777-permissions%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    6
    down vote













    It's possible that the /home directories have 700 permissions rather than 755 permissions. This would mean that no user could traverse down the tree and back up to another user's /home






    share|improve this answer




















    • Entirely plausible for a shared host
      – roaima
      Nov 20 '17 at 22:17














    up vote
    6
    down vote













    It's possible that the /home directories have 700 permissions rather than 755 permissions. This would mean that no user could traverse down the tree and back up to another user's /home






    share|improve this answer




















    • Entirely plausible for a shared host
      – roaima
      Nov 20 '17 at 22:17












    up vote
    6
    down vote










    up vote
    6
    down vote









    It's possible that the /home directories have 700 permissions rather than 755 permissions. This would mean that no user could traverse down the tree and back up to another user's /home






    share|improve this answer












    It's possible that the /home directories have 700 permissions rather than 755 permissions. This would mean that no user could traverse down the tree and back up to another user's /home







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 20 '17 at 21:16









    RubberStamp

    1,4551216




    1,4551216











    • Entirely plausible for a shared host
      – roaima
      Nov 20 '17 at 22:17
















    • Entirely plausible for a shared host
      – roaima
      Nov 20 '17 at 22:17















    Entirely plausible for a shared host
    – roaima
    Nov 20 '17 at 22:17




    Entirely plausible for a shared host
    – roaima
    Nov 20 '17 at 22:17












    up vote
    0
    down vote













    You most likely need to change the permissions on one directory level higher to give her access to your home directory.



    Can you execute chgrp? If so create a group you are both in and chngrp owner to your shared group. Make sure to add both of you to the group.



    https://www.cyberciti.biz/faq/linux-setup-shared-directory/






    share|improve this answer
























      up vote
      0
      down vote













      You most likely need to change the permissions on one directory level higher to give her access to your home directory.



      Can you execute chgrp? If so create a group you are both in and chngrp owner to your shared group. Make sure to add both of you to the group.



      https://www.cyberciti.biz/faq/linux-setup-shared-directory/






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        You most likely need to change the permissions on one directory level higher to give her access to your home directory.



        Can you execute chgrp? If so create a group you are both in and chngrp owner to your shared group. Make sure to add both of you to the group.



        https://www.cyberciti.biz/faq/linux-setup-shared-directory/






        share|improve this answer












        You most likely need to change the permissions on one directory level higher to give her access to your home directory.



        Can you execute chgrp? If so create a group you are both in and chngrp owner to your shared group. Make sure to add both of you to the group.



        https://www.cyberciti.biz/faq/linux-setup-shared-directory/







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 10 at 21:12









        Govna

        7817




        7817



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405849%2fcant-cd-to-or-mkdir-in-directory-despite-777-permissions%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            The Forum (Inglewood, California)

            Palaiologos