Wols Lists composed on 2017-01-26 22:29 (UTC):
Daniel Bauer wrote:
Actually, after googling, i typed the following:
sudo chmod 0700 /home/daniel ... You need to understand what you have done. The most important thing you have done is that you have now made it *impossible* to share any files with other users even if you wanted to.
Not strictly true, but definitely complicated. Some other directory that is readable by both or all users could be employed, by copying or moving file(s) to be shared between the homes and the shared location(s). It might be prudent at this point for Daniel to take time to examine the whole concept of Linux permissions, taking a look e.g. at these: https://en.wikipedia.org/wiki/File_system_permissions https://en.wikipedia.org/wiki/Umask https://en.wikipedia.org/wiki/Chmod Then take a look around his system using a file manager that shows permissions, logged in as root, to gain some working familiarity. I suggest mc using long listing mode to do so whilst logged in on a vtty. Here are some examples of what would be seen doing so in a system having an effect compatible with his original restrictive goal: drwxrwxrwx directory everybody can enter (cd into) everybody can read everybody can write result of umask 0 result of chmod 0777 -rwxrwxrwx file everybody can read everybody can write everybody can execute result of umask 0 result of chmod 777 drwx------ directory only owner can enter (cd into) only owner can read only owner can write result of umask 0077 result of chmod 0700 -rwx------ file only owner can read only owner can write only owner can execute result of umask 077 result of chmod 700 -rwxr----- file owner can read, write, execute group can read group cannot write or execute others can do nothing result of umask 037 result of chmod 740 -rwxr-x--- file owner can read, write, execute group can read and execute group cannot write others can do nothing result of umask 027 result of chmod 750 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org