Secure your $HOME/ directory so nobody except the "student" group has read-only access to the contents

Asked by Victor Lopez

Secure your $HOME/ directory so nobody except the "student" group has read-only access to the contents

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu coreutils Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo chmod -R 750 $HOME; sudo chown -r $USER:student $HOME

Should do it

Revision history for this message
Ralph Corderoy (ralph-inputplus) said :
#2

There's no need for sudo here if that's my $HOME and I'm in the student group.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

I guess but it covers any issues with ownership elsewhere, just makes it smooth :)

Can you help with this problem?

Provide an answer of your own, or ask Victor Lopez for more information if necessary.

To post a message you must log in.