Results 11 to 13 of 13
Your home dir is chmod'ed to give you full access by default.
If I understood you correctly, you can't create new files/dirs in a directory that you created while you ...
- 02-29-2004 #11Linux Guru
- Join Date
- Oct 2001
- Location
- Tфby, Sweden
- Posts
- 7,578
Your home dir is chmod'ed to give you full access by default.
If I understood you correctly, you can't create new files/dirs in a directory that you created while you were root, right? In that case, it's only natural. That directory will be owned by root, and thus only root can modify it. To fix that, either chown it so that you own it ("chmod mosg: thedirname"), or chmod it to give everyone write permission to it ("chmod 777 thedirname").
- 02-29-2004 #12
If you create a folder/file with root, then root owns it and other users (by default) can't write or execute it. This means no subdirectory creation. So change to root and do this:
That will give mosg ownership of everything in /home/mosg. Now mosg will be able to create anything under that tree.Code:chown -R /home/mosg mosg
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 02-29-2004 #13Just Joined!
- Join Date
- Feb 2004
- Posts
- 25
Thanks guys, u really help me. Now i have full access to files i needed!!!!...
> Россия вас не забудет!


Reply With Quote