Unable to cd to a folder although I am part of the same group
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a folder, and I can see execution permissions are provided to the elasticsearch
group so I add myself to this group. Why can't I cd
to this folder?
$ ls -lhd elasti*
drwxr-x--- 2 elasticsearch elasticsearch 4,0K abr 12 17:39 elasticsearch
$ sudo adduser matias elasticsearch
The user `matias' is already a member of `elasticsearch'.
$ cd elasticsearch
bash: cd: elasticsearch: Permission denied
linux permissions
migrated from serverfault.com Apr 21 at 18:21
This question came from our site for system and network administrators.
add a comment |Â
up vote
0
down vote
favorite
I have a folder, and I can see execution permissions are provided to the elasticsearch
group so I add myself to this group. Why can't I cd
to this folder?
$ ls -lhd elasti*
drwxr-x--- 2 elasticsearch elasticsearch 4,0K abr 12 17:39 elasticsearch
$ sudo adduser matias elasticsearch
The user `matias' is already a member of `elasticsearch'.
$ cd elasticsearch
bash: cd: elasticsearch: Permission denied
linux permissions
migrated from serverfault.com Apr 21 at 18:21
This question came from our site for system and network administrators.
5
have you opened a new sessions after you added your use to the group? provide the output of the id command
â c4f4t0r
Apr 19 at 7:07
Are ACL in effect? You can check withgetfacl elasticsearch
.
â Gerald Schneider
Apr 19 at 12:16
A useful command in this kind of situation isid
, which shows the current user and their group memberships.
â roaima
Apr 21 at 19:21
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a folder, and I can see execution permissions are provided to the elasticsearch
group so I add myself to this group. Why can't I cd
to this folder?
$ ls -lhd elasti*
drwxr-x--- 2 elasticsearch elasticsearch 4,0K abr 12 17:39 elasticsearch
$ sudo adduser matias elasticsearch
The user `matias' is already a member of `elasticsearch'.
$ cd elasticsearch
bash: cd: elasticsearch: Permission denied
linux permissions
I have a folder, and I can see execution permissions are provided to the elasticsearch
group so I add myself to this group. Why can't I cd
to this folder?
$ ls -lhd elasti*
drwxr-x--- 2 elasticsearch elasticsearch 4,0K abr 12 17:39 elasticsearch
$ sudo adduser matias elasticsearch
The user `matias' is already a member of `elasticsearch'.
$ cd elasticsearch
bash: cd: elasticsearch: Permission denied
linux permissions
edited Apr 21 at 18:31
Kusalananda
102k13199315
102k13199315
asked Apr 19 at 4:27
Matias Barrios
1062
1062
migrated from serverfault.com Apr 21 at 18:21
This question came from our site for system and network administrators.
migrated from serverfault.com Apr 21 at 18:21
This question came from our site for system and network administrators.
5
have you opened a new sessions after you added your use to the group? provide the output of the id command
â c4f4t0r
Apr 19 at 7:07
Are ACL in effect? You can check withgetfacl elasticsearch
.
â Gerald Schneider
Apr 19 at 12:16
A useful command in this kind of situation isid
, which shows the current user and their group memberships.
â roaima
Apr 21 at 19:21
add a comment |Â
5
have you opened a new sessions after you added your use to the group? provide the output of the id command
â c4f4t0r
Apr 19 at 7:07
Are ACL in effect? You can check withgetfacl elasticsearch
.
â Gerald Schneider
Apr 19 at 12:16
A useful command in this kind of situation isid
, which shows the current user and their group memberships.
â roaima
Apr 21 at 19:21
5
5
have you opened a new sessions after you added your use to the group? provide the output of the id command
â c4f4t0r
Apr 19 at 7:07
have you opened a new sessions after you added your use to the group? provide the output of the id command
â c4f4t0r
Apr 19 at 7:07
Are ACL in effect? You can check with
getfacl elasticsearch
.â Gerald Schneider
Apr 19 at 12:16
Are ACL in effect? You can check with
getfacl elasticsearch
.â Gerald Schneider
Apr 19 at 12:16
A useful command in this kind of situation is
id
, which shows the current user and their group memberships.â roaima
Apr 21 at 19:21
A useful command in this kind of situation is
id
, which shows the current user and their group memberships.â roaima
Apr 21 at 19:21
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The most likely answer is that you added your user to the group in the same shell session as where you try to cd
into the folder.
For the new group membership to take effect, you would have to start a new shell session, or log out and log in again.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The most likely answer is that you added your user to the group in the same shell session as where you try to cd
into the folder.
For the new group membership to take effect, you would have to start a new shell session, or log out and log in again.
add a comment |Â
up vote
0
down vote
The most likely answer is that you added your user to the group in the same shell session as where you try to cd
into the folder.
For the new group membership to take effect, you would have to start a new shell session, or log out and log in again.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The most likely answer is that you added your user to the group in the same shell session as where you try to cd
into the folder.
For the new group membership to take effect, you would have to start a new shell session, or log out and log in again.
The most likely answer is that you added your user to the group in the same shell session as where you try to cd
into the folder.
For the new group membership to take effect, you would have to start a new shell session, or log out and log in again.
edited Apr 21 at 18:39
answered Apr 21 at 18:34
Kusalananda
102k13199315
102k13199315
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%2f439161%2funable-to-cd-to-a-folder-although-i-am-part-of-the-same-group%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
5
have you opened a new sessions after you added your use to the group? provide the output of the id command
â c4f4t0r
Apr 19 at 7:07
Are ACL in effect? You can check with
getfacl elasticsearch
.â Gerald Schneider
Apr 19 at 12:16
A useful command in this kind of situation is
id
, which shows the current user and their group memberships.â roaima
Apr 21 at 19:21