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

Clash 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)?
linux permissions
add a comment |Â
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)?
linux permissions
3
What is the output ofls -ld /home /home/jstrout?
â Mark Plotnick
Nov 20 '17 at 21:46
add a comment |Â
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)?
linux permissions
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)?
linux permissions
asked Nov 20 '17 at 21:06
Joe Strout
1111
1111
3
What is the output ofls -ld /home /home/jstrout?
â Mark Plotnick
Nov 20 '17 at 21:46
add a comment |Â
3
What is the output ofls -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
add a comment |Â
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
Entirely plausible for a shared host
â roaima
Nov 20 '17 at 22:17
add a comment |Â
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/
add a comment |Â
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
Entirely plausible for a shared host
â roaima
Nov 20 '17 at 22:17
add a comment |Â
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
Entirely plausible for a shared host
â roaima
Nov 20 '17 at 22:17
add a comment |Â
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
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
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
add a comment |Â
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
add a comment |Â
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/
add a comment |Â
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/
add a comment |Â
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/
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/
answered May 10 at 21:12
Govna
7817
7817
add a comment |Â
add a comment |Â
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%2f405849%2fcant-cd-to-or-mkdir-in-directory-despite-777-permissions%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
3
What is the output of
ls -ld /home /home/jstrout?â Mark Plotnick
Nov 20 '17 at 21:46