drwx------ 10 root root 4096 2011-08-10 10:27 Tafe cert4
Your folder name has a space in it hence the back slash \ to escape it in the command (its not a directory delimiter).
Can also use quotes round the name to avoid confusion e.g cd "Tafe cert4" (Personally i avoid having spaces in directory names as its a pain)
The "Tafe cert4" folder is owned by root with no access to anyone else, to change it to be owned by yourself do this:
Code:
sudo chown ninjalo161:ninjalo161 "Tafe cert4"
(This assumes your user is in group ninjalo161, check this with "id" command to see your main group, if its not ninjalo161 then change the second ninjalo161 in the command to the group your actually in)
If you want read access to other users, i.e same permission as the ninjalo161 directory, then do this:
Code:
chmod 755 "Tafe cert4"
(don't have to sudo this one as you now own the file after the chown command, but would do if it was still owned by root)
Use man to read up on the chown and chmod commands to see what these are doing and other options. You may need the recursive option (-R) if the directory has futher sub-dirs you need to change as well.
EDIT: lol, simultaneous reply with coffecat, looks like we are saying the same things though
Bookmarks