I can't chmod 000
for a folder in Ubuntu 13.10
I can't chmod 000
for a folder in Ubuntu 13.10
There is a manual page for chmod
here.
Basically, look at this table on that page:
You can change the tick boxes, so that different people have different permissions.
Owner is the permissions on that file of the owner of the folder - usually the user that has created them - can be changed with chown
.
Group is the permissions on that file of the group of the folder - can be changed with the chown
or the chgrp
commands.
Other is the permissions on that file of everyone who does not fall into the above two categories.
So running chmod 600 /PATH/TO/FILE
will change the permissions so that only the owner can read the file, and write to it.
You can also do the same for folders, but by using chmod -R 600 /PATH/TO/FILE
so the contents of the folder is the same as well.
The thing is, if you try entering it as 000:
Then no one can access or write to the file, except root, and the owner if they change the permissions again. This can work, but there is not much point to it as:
chmod
, or by & Propertieschmod 000 ..
, just use chmod 600 ..
So if you want to stop people accessing the file, encrypting the file with a password would be the better idea. So to stop people accessing a file or folder, open Archive Manager, and click New - create one that you can encrypt (under Other Options) - I use .7z, as then you can encrypt the file list to. Then type the password you want to use.
Then you can add files:
Then you have an encrypted archive with your files secure inside - though it can still be deleted...