permissions - What are the consequences of running chmod 755 -R on home directory? - Ask Ubuntu
i accidentally executed
chmod 755 -r $home
for works fine, haven't rebooted laptop yet.
i wanted know consequences of actions? i'm concerned configuration files. break?
the important thing can think of set correct permissions on ssh keys. there else should take care of?
i'm aware of exising question: what if accidentally run command "chmod -r" on system directories (/, /etc, ...), seems address bigger issue running chmod on system directories.
you have changed permissions of files , directories in , underneath $home
whatever (and each file or directory had own permissions) rwxr-xr-x
. marks files "executable" , , grants other (user, group, other) users ability inspect , traverse directories , read files. change break ssh
, , cause other problems.
you can fix ssh
via:
chmod 700 ~/.ssh chmod 600 ~/.ssh/* ~/.xauthority
i included ~/.xauthority
avoid x authentication problems.
don't execute commands hear of (read in book, see online, ...) without understanding do. @ least (for case) read man chmod
, info coreutils 'chmod invocation'
, maybe man 2 chmod
.
linux, unix, makes possible powerful things, not require powerful things safe. figure out before lighting fuse.
Comments
Post a Comment