Make folders unreadable for everyone but sudo users and owners
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
What I am trying to do:
I am managing a class server and I want to allow all of the users to save their work to their home directories. I do not want users to be able to view other users home directories except for sudo users.
I believe this can be accomplished by doing the following
chmod -R 700 user1/
Is this the correct way to accomplish this?
permissions
add a comment |Â
up vote
-1
down vote
favorite
What I am trying to do:
I am managing a class server and I want to allow all of the users to save their work to their home directories. I do not want users to be able to view other users home directories except for sudo users.
I believe this can be accomplished by doing the following
chmod -R 700 user1/
Is this the correct way to accomplish this?
permissions
Better option would be750
â George Udosen
Jan 12 at 21:03
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
What I am trying to do:
I am managing a class server and I want to allow all of the users to save their work to their home directories. I do not want users to be able to view other users home directories except for sudo users.
I believe this can be accomplished by doing the following
chmod -R 700 user1/
Is this the correct way to accomplish this?
permissions
What I am trying to do:
I am managing a class server and I want to allow all of the users to save their work to their home directories. I do not want users to be able to view other users home directories except for sudo users.
I believe this can be accomplished by doing the following
chmod -R 700 user1/
Is this the correct way to accomplish this?
permissions
asked Jan 12 at 20:58
Kevin
1011
1011
Better option would be750
â George Udosen
Jan 12 at 21:03
add a comment |Â
Better option would be750
â George Udosen
Jan 12 at 21:03
Better option would be
750
â George Udosen
Jan 12 at 21:03
Better option would be
750
â George Udosen
Jan 12 at 21:03
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Use sudo chmod 750 /home/$USER
so the files inside don't pick up those permission but stops non-owners from accessing home
folders
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Use sudo chmod 750 /home/$USER
so the files inside don't pick up those permission but stops non-owners from accessing home
folders
add a comment |Â
up vote
1
down vote
accepted
Use sudo chmod 750 /home/$USER
so the files inside don't pick up those permission but stops non-owners from accessing home
folders
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Use sudo chmod 750 /home/$USER
so the files inside don't pick up those permission but stops non-owners from accessing home
folders
Use sudo chmod 750 /home/$USER
so the files inside don't pick up those permission but stops non-owners from accessing home
folders
answered Jan 12 at 21:07
George Udosen
1,112318
1,112318
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%2f416675%2fmake-folders-unreadable-for-everyone-but-sudo-users-and-owners%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
Better option would be
750
â George Udosen
Jan 12 at 21:03