How to prevent automount (autofs) changing protection of indirect map mountpoint
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
How do I prevent autofs (automount) from changing the protection of its owned mountpoint.
# chmod 2771 /cust
# ls -ld /cust
drwxrws--x. 2 root root 4096 Mar 13 14:43 /cust
# systemctl start autofs
# ls -ld /cust
drwxr-xr-x 332 root root 0 Mar 14 16:26 /cust
# grep cust auto.master
/cust /etc/auto.cust --ghost
# grep user auto.cust
user :/fs1/cust/&
Regards,
automounting
add a comment |Â
up vote
0
down vote
favorite
How do I prevent autofs (automount) from changing the protection of its owned mountpoint.
# chmod 2771 /cust
# ls -ld /cust
drwxrws--x. 2 root root 4096 Mar 13 14:43 /cust
# systemctl start autofs
# ls -ld /cust
drwxr-xr-x 332 root root 0 Mar 14 16:26 /cust
# grep cust auto.master
/cust /etc/auto.cust --ghost
# grep user auto.cust
user :/fs1/cust/&
Regards,
automounting
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How do I prevent autofs (automount) from changing the protection of its owned mountpoint.
# chmod 2771 /cust
# ls -ld /cust
drwxrws--x. 2 root root 4096 Mar 13 14:43 /cust
# systemctl start autofs
# ls -ld /cust
drwxr-xr-x 332 root root 0 Mar 14 16:26 /cust
# grep cust auto.master
/cust /etc/auto.cust --ghost
# grep user auto.cust
user :/fs1/cust/&
Regards,
automounting
How do I prevent autofs (automount) from changing the protection of its owned mountpoint.
# chmod 2771 /cust
# ls -ld /cust
drwxrws--x. 2 root root 4096 Mar 13 14:43 /cust
# systemctl start autofs
# ls -ld /cust
drwxr-xr-x 332 root root 0 Mar 14 16:26 /cust
# grep cust auto.master
/cust /etc/auto.cust --ghost
# grep user auto.cust
user :/fs1/cust/&
Regards,
automounting
asked Mar 14 at 20:40
Paul Hergt
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The permissions of the mount point after you mounted your nfs share are the ones of your nfs folder on your nfs server.
you can try to change the permissions on your nfs server:
chmod 2771 /fs1/cust
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
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 permissions of the mount point after you mounted your nfs share are the ones of your nfs folder on your nfs server.
you can try to change the permissions on your nfs server:
chmod 2771 /fs1/cust
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
add a comment |Â
up vote
0
down vote
The permissions of the mount point after you mounted your nfs share are the ones of your nfs folder on your nfs server.
you can try to change the permissions on your nfs server:
chmod 2771 /fs1/cust
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The permissions of the mount point after you mounted your nfs share are the ones of your nfs folder on your nfs server.
you can try to change the permissions on your nfs server:
chmod 2771 /fs1/cust
The permissions of the mount point after you mounted your nfs share are the ones of your nfs folder on your nfs server.
you can try to change the permissions on your nfs server:
chmod 2771 /fs1/cust
answered Mar 14 at 22:21
Hadrien Huvelle
245110
245110
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
add a comment |Â
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
Not sure I follow, it is true that the /fs1 filesystem has drwxr-xr-x
â Paul Hergt
Mar 15 at 14:33
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
One other point, the /fs1/cust does have 2771 protection.
â Paul Hergt
Mar 15 at 15:11
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
Sorry, I was a bit quick to read and saw user fs1:/cust/& instead of user :/fs1/cust/&
â Hadrien Huvelle
Mar 15 at 18:04
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%2f430257%2fhow-to-prevent-automount-autofs-changing-protection-of-indirect-map-mountpoint%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