plate55
asked on
CHMOD file attributes
I have a file that I would like to do the following to.
Allow the owner to read
Allow the owner to write
Allow the owners group to read.
Would it be chmod 640 file.txt
Owner to read 400
Owner to write 200
Owners group to read 040
Rest of world do do nothing
Add these together and one obtains 640.
The question is first of all is this the correct syntax and if I want to give no permissions to everyone else
is this 0?
Allow the owner to read
Allow the owner to write
Allow the owners group to read.
Would it be chmod 640 file.txt
Owner to read 400
Owner to write 200
Owners group to read 040
Rest of world do do nothing
Add these together and one obtains 640.
The question is first of all is this the correct syntax and if I want to give no permissions to everyone else
is this 0?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
460 sould be 640