View previous topic :: View next topic |
Author |
Message |
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Thu Jul 25, 2002 1:15 pm Post subject: Little problems - startx and home directory permissions |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Jul 25, 2002 2:40 pm Post subject: Re: Little problems - startx and home directory permissions |
|
|
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 |
|
|
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Thu Jul 25, 2002 4:35 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Jul 25, 2002 4:47 pm Post subject: |
|
|
I'm wondering if something might have gone wrong with useradd. Did this user always have this problem?
What does this output:
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Jul 25, 2002 4:53 pm Post subject: Re: Little problems - startx and home directory permissions |
|
|
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 |
|
|
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Thu Jul 25, 2002 5:44 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Jul 25, 2002 6:33 pm Post subject: |
|
|
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 |
|
|
|