Not able to cd into world-readable directory on NFS
There is a directory created by root, and I am not root user. But I am not able to do a cd into that directory in spite of having execute permission for others. Why so? Has the write permission on others has anything to do here?
>$ ls -l
drwxrwxrwx 8 root root 4096 Aug 10 2010 abc/
>$ cd abc
-ksh: cd: abc: [Permission denied]
>$
It is a mount point. From the mount command, I see NFS.
permissions nfs
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 7 more comments
There is a directory created by root, and I am not root user. But I am not able to do a cd into that directory in spite of having execute permission for others. Why so? Has the write permission on others has anything to do here?
>$ ls -l
drwxrwxrwx 8 root root 4096 Aug 10 2010 abc/
>$ cd abc
-ksh: cd: abc: [Permission denied]
>$
It is a mount point. From the mount command, I see NFS.
permissions nfs
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
lsattr -d abc/
?
– neuron
Jul 16 '15 at 10:06
lsattr: Permission denied While reading flags on abc
– Guru
Jul 16 '15 at 10:14
Is that a mount point with a mount on it?
– YoMismo
Jul 16 '15 at 10:51
1
ls -ld abc/.
?
– wurtel
Jul 16 '15 at 11:15
1
Then the mounted filesystem has a root directory that is not readable/excutable for your user ID.
– wurtel
Jul 16 '15 at 11:38
|
show 7 more comments
There is a directory created by root, and I am not root user. But I am not able to do a cd into that directory in spite of having execute permission for others. Why so? Has the write permission on others has anything to do here?
>$ ls -l
drwxrwxrwx 8 root root 4096 Aug 10 2010 abc/
>$ cd abc
-ksh: cd: abc: [Permission denied]
>$
It is a mount point. From the mount command, I see NFS.
permissions nfs
There is a directory created by root, and I am not root user. But I am not able to do a cd into that directory in spite of having execute permission for others. Why so? Has the write permission on others has anything to do here?
>$ ls -l
drwxrwxrwx 8 root root 4096 Aug 10 2010 abc/
>$ cd abc
-ksh: cd: abc: [Permission denied]
>$
It is a mount point. From the mount command, I see NFS.
permissions nfs
permissions nfs
edited Jul 16 '15 at 22:09
Gilles
542k12810961615
542k12810961615
asked Jul 16 '15 at 9:54
GuruGuru
4,16211216
4,16211216
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
lsattr -d abc/
?
– neuron
Jul 16 '15 at 10:06
lsattr: Permission denied While reading flags on abc
– Guru
Jul 16 '15 at 10:14
Is that a mount point with a mount on it?
– YoMismo
Jul 16 '15 at 10:51
1
ls -ld abc/.
?
– wurtel
Jul 16 '15 at 11:15
1
Then the mounted filesystem has a root directory that is not readable/excutable for your user ID.
– wurtel
Jul 16 '15 at 11:38
|
show 7 more comments
lsattr -d abc/
?
– neuron
Jul 16 '15 at 10:06
lsattr: Permission denied While reading flags on abc
– Guru
Jul 16 '15 at 10:14
Is that a mount point with a mount on it?
– YoMismo
Jul 16 '15 at 10:51
1
ls -ld abc/.
?
– wurtel
Jul 16 '15 at 11:15
1
Then the mounted filesystem has a root directory that is not readable/excutable for your user ID.
– wurtel
Jul 16 '15 at 11:38
lsattr -d abc/
?– neuron
Jul 16 '15 at 10:06
lsattr -d abc/
?– neuron
Jul 16 '15 at 10:06
lsattr: Permission denied While reading flags on abc
– Guru
Jul 16 '15 at 10:14
lsattr: Permission denied While reading flags on abc
– Guru
Jul 16 '15 at 10:14
Is that a mount point with a mount on it?
– YoMismo
Jul 16 '15 at 10:51
Is that a mount point with a mount on it?
– YoMismo
Jul 16 '15 at 10:51
1
1
ls -ld abc/.
?– wurtel
Jul 16 '15 at 11:15
ls -ld abc/.
?– wurtel
Jul 16 '15 at 11:15
1
1
Then the mounted filesystem has a root directory that is not readable/excutable for your user ID.
– wurtel
Jul 16 '15 at 11:38
Then the mounted filesystem has a root directory that is not readable/excutable for your user ID.
– wurtel
Jul 16 '15 at 11:38
|
show 7 more comments
1 Answer
1
active
oldest
votes
The directory abc
is a mountpoint of a filesystem belonging to a different server, hence the permissions of the filesystem being shared overrides the permissions set on the mountpoint. The user(me) does not have the execute permission on the original filesystem and hence not able to get into the directory.
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f216413%2fnot-able-to-cd-into-world-readable-directory-on-nfs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The directory abc
is a mountpoint of a filesystem belonging to a different server, hence the permissions of the filesystem being shared overrides the permissions set on the mountpoint. The user(me) does not have the execute permission on the original filesystem and hence not able to get into the directory.
add a comment |
The directory abc
is a mountpoint of a filesystem belonging to a different server, hence the permissions of the filesystem being shared overrides the permissions set on the mountpoint. The user(me) does not have the execute permission on the original filesystem and hence not able to get into the directory.
add a comment |
The directory abc
is a mountpoint of a filesystem belonging to a different server, hence the permissions of the filesystem being shared overrides the permissions set on the mountpoint. The user(me) does not have the execute permission on the original filesystem and hence not able to get into the directory.
The directory abc
is a mountpoint of a filesystem belonging to a different server, hence the permissions of the filesystem being shared overrides the permissions set on the mountpoint. The user(me) does not have the execute permission on the original filesystem and hence not able to get into the directory.
answered Jul 20 '15 at 10:32
GuruGuru
4,16211216
4,16211216
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f216413%2fnot-able-to-cd-into-world-readable-directory-on-nfs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
lsattr -d abc/
?– neuron
Jul 16 '15 at 10:06
lsattr: Permission denied While reading flags on abc
– Guru
Jul 16 '15 at 10:14
Is that a mount point with a mount on it?
– YoMismo
Jul 16 '15 at 10:51
1
ls -ld abc/.
?– wurtel
Jul 16 '15 at 11:15
1
Then the mounted filesystem has a root directory that is not readable/excutable for your user ID.
– wurtel
Jul 16 '15 at 11:38