LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't write to home dir. (https://www.linuxquestions.org/questions/linux-general-1/cant-write-to-home-dir-325986/)

Mirari 05-22-2005 01:35 PM

Can't write to home dir.
 
I can't write to my home dir (write, or exucute) files. I'm nto sure why not anyone have any insight on this? Root can read, write, excute. But I don't want to run as root, seeing it's unsecure. So, any ideas of what's wrong, or how to fix this?

david_ross 05-22-2005 01:37 PM

What are the permissions on your home directory?
ls -la ~

Mirari 05-22-2005 02:18 PM

drwxr-xr-x 45 root root 4096 2005-05-22 01:23 darklord/

That's what I get when I "ls -la" /home/

david_ross 05-22-2005 02:21 PM

Just change the owner to your user:
chown -R darklord /home/darklord

mdtex 05-22-2005 02:25 PM

You need to change the permissions to your home directory. You need to su to root, or log in as root. Once you are root, then you need to do: chmod user.group darklord (where user is the user name and group is the group name for the user).

Mirari 05-22-2005 02:42 PM

Ah. Thank you!
*goes off to become a contributing member*


All times are GMT -5. The time now is 11:44 PM.