Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Little problems - startx and home directory permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Thu Jul 25, 2002 1:15 pm    Post subject: Little problems - startx and home directory permissions Reply with quote

Lots of little problems
startx gives me command not found, so I need to add either /usr/bin/X11 or /usr/X11R6/bin to my environment variable. Can I do this globally (not per user)? I already looked inside of /etc/profile.env and /usr/X11R6/bin is already in export PATH=
What am I missing

Also, I cannot switch to my home directory anymore as a user. I chmod 644 /home/dave as root, and that seems to have made it inaccesible. What do I need to change the permissions back to in order to access it. I already tried "chown dave /home/dave".

Any help is greatly appreciated!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jul 25, 2002 2:40 pm    Post subject: Re: Little problems - startx and home directory permissions Reply with quote

Mallrats wrote:

Lots of little problems
startx gives me command not found, so I need to add either /usr/bin/X11 or /usr/X11R6/bin to my environment variable. Can I do this globally (not per user)? I already looked inside of /etc/profile.env and /usr/X11R6/bin is already in export PATH=
What am I missing

Also, I cannot switch to my home directory anymore as a user. I chmod 644 /home/dave as root, and that seems to have made it inaccesible. What do I need to change the permissions back to in order to access it. I already tried "chown dave /home/dave".

Any help is greatly appreciated!

For the homedir, try 755. Owner/group should be root.

startx should be in your path automatically... I think something else might have gone awry. Hrmm...
_________________
Quis separabit? Quo animo?


Last edited by pjp on Thu Jul 25, 2002 4:52 pm; edited 2 times in total
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Thu Jul 25, 2002 4:35 pm    Post subject: Reply with quote

Thanks for the reply

The chmod 755 allowed my user acess to view the folder, but I can't write files within it!

Any suggestions out there?

I'm still looking for how to add environment variables to path
Moderators, would it be okay to start a new post?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jul 25, 2002 4:47 pm    Post subject: Reply with quote

I'm wondering if something might have gone wrong with useradd. Did this user always have this problem?

What does this output:
Code:
# cd ~
#ls -ald


For now I would leave the thread together, just in case the issues are related. It might help someone to know the complete history.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jul 25, 2002 4:53 pm    Post subject: Re: Little problems - startx and home directory permissions Reply with quote

:oops:
kanuslupus wrote:
For the homedir, try 755. Owner/group should be root.

Maybe it was too early. The owner should be the user in question, and the group should be users (unless you have done something non-standard)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Thu Jul 25, 2002 5:44 pm    Post subject: Reply with quote

I set the ownership to dave and group to users and all is right

I think the problems are related
I didn't have startx because .bashrc or some similar file in the home directory couldn't be read, so perhaps my environment variables were not being read

Thanks to all for the help
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jul 25, 2002 6:33 pm    Post subject: Reply with quote

Mallrats wrote:
I set the ownership to dave and group to users and all is right

I think the problems are related
I didn't have startx because .bashrc or some similar file in the home directory couldn't be read, so perhaps my environment variables were not being read

Thanks to all for the help
Glad all is well now. Return the favor to someone when you can ;)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum