chmod numbers and uses ?
Any easy find page about chmod with any regularly used numbers and what they are used for ?
Do these chmod usages vary between distributions ? . |
|
The numbers are octal and they represent Unix permissions.
Code:
$ ls -ln
Permissions are three bits wide, thus the use of octal numbers. When you see chmod 644, that's an octal number. Each digit is three bits.
You can set the same permissions with symbolic flags, such as chmod 'u=rw,g=r,o=r'. There are many tricks to getting the exact permissions you want on any particular file. Just read the manual and give some consideration when setting permissions. chmod invocation - GNU Coreutils. |
Hi! Welcome to LQ!
Please be advised that you should do some "research" or "work" on your own as the LQ Forum is meant for discussing problems. Go to tldp.org and download/view the Linux Introduction Guide. |
Appreciated the help, do accept my post was not clear :-(
Some friction drew to my attention - and quickly my concern, that our settings made users homes and contents available for all to read. Created user joe and tested default settings were 755 Calm after changed them to 700, yet wonder what other problems this may cause ? :~> stat -c '%A %a %u' /home/* drwxrwxrwx 777 0 drwxr-xr-x 755 1000 drwx------ 700 0 drwx------ 700 1003 drwx------ 700 1001 drwx------ 700 1002 Are there standard settings for users in /home/(USERNAME) or do they vary between Distributions. Am looking further into how can enable the /home/username/Public to be open, without opening everything else. on openSUSE 11.4 x86-64 |
Please don't take anything I write below literally. I don't administer any any multi-user systems. I just have some thoughts for you until someone else jumps in with some better information. You shouldn't take my advice without doing a bunch of research and experimentation on your own first. (I think that's why the others were trying to help by pointing you to the manpage.)
Quote:
Quote:
Quote:
Code:
chmod -R 'a+rw' /home/username/Public/ Code:
chown -R 'username:pubusers' /home/username/Public/ http://en.opensuse.org/SDB:Official_documentation |
All times are GMT -5. The time now is 10:03 AM. |