LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-22-2005, 02:35 PM   #1
Mirari
LQ Newbie
 
Registered: Feb 2005
Location: CT
Distribution: Slackware 10.1
Posts: 21

Rep: Reputation: 15
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?
 
Old 05-22-2005, 02:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
What are the permissions on your home directory?
ls -la ~
 
Old 05-22-2005, 03:18 PM   #3
Mirari
LQ Newbie
 
Registered: Feb 2005
Location: CT
Distribution: Slackware 10.1
Posts: 21

Original Poster
Rep: Reputation: 15
drwxr-xr-x 45 root root 4096 2005-05-22 01:23 darklord/

That's what I get when I "ls -la" /home/
 
Old 05-22-2005, 03:21 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Just change the owner to your user:
chown -R darklord /home/darklord
 
Old 05-22-2005, 03:25 PM   #5
mdtex
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Rep: Reputation: 0
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).
 
Old 05-22-2005, 03:42 PM   #6
Mirari
LQ Newbie
 
Registered: Feb 2005
Location: CT
Distribution: Slackware 10.1
Posts: 21

Original Poster
Rep: Reputation: 15
Ah. Thank you!
*goes off to become a contributing member*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/PHP can't write to /tmp dir. Niels@debian Linux - Software 2 05-25-2005 04:10 PM
Can't write to my home dir Seiken Linux - Newbie 5 02-16-2005 09:42 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 08:54 PM
wine can't write to dir alaios Linux - Software 3 03-23-2004 11:27 AM
Apache Home Dir Nige General 1 02-24-2004 05:10 PM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration