You are not logged in.
Glad you found the issue.
You can set permissions with chmod. E.g.
chmod 644 rc.xml
I too am a fan of mc.
Thanks. I've got a copy of the O'Reilly published book "Linux In A Nutshell", and there's a section in that describing the various file permissions and how to change them (never bothered to learn it all though - maybe I should).
Just found this article online, and it looks pretty good;
https://www.pluralsight.com/blog/it-ops … ermissions
So 4 = Read, 2 = Write, 1 = Execute and 0 = No Permisson. Hence, 644 means that User can read and write but not execute, Group can read (but not write or execute) and Others can read (but not write or execute).
Last edited by Colonel Panic (2019-05-25 20:45:23)
Offline
chmod 644 rc.xml
which is a shorter way of doing
chmod a+r,u+w rc.xml
which hardly anyone ever does with multiple modes and usually uses the octal form (or multiple chmod commands).
--Ben
BL / MX / Raspbian... and a whole bunch of RHEL boxes. :)
Offline
^^ yep
Use 755 for directories and executables (e.g. scripts)
Don’t touch anything outside your home directory.
Offline
^^ yep
Use 755 for directories and executables (e.g. scripts)
Don’t touch anything outside your home directory.
Thanks again! (and bigbenaugust too).
Offline