LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01: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, 01:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What are the permissions on your home directory?
ls -la ~
 
Old 05-22-2005, 02: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, 02:21 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just change the owner to your user:
chown -R darklord /home/darklord
 
Old 05-22-2005, 02: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, 02: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



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 03:10 PM
Can't write to my home dir Seiken Linux - Newbie 5 02-16-2005 08:42 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM
wine can't write to dir alaios Linux - Software 3 03-23-2004 10:27 AM
Apache Home Dir Nige General 1 02-24-2004 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration