Linux newb locked out of /home/username - TechRepublic
General discussion
July 19, 2006 at 02:15 PM
charliespencer

Linux newb locked out of /home/username

by charliespencer . Updated 19 years, 10 months ago

When I log on to my Red Hat 9 box I get:

“Please contact your system administrator to resolve the following problem:
Could not open or create the file “/home/spenceca/.gconf-test-locking-file”; this indicates that there may be a problem with your configuration, as many programs will need to create files in your home directory. The error was “Permission denied” (emo = 13)”

Apparently I’ve locked myself out of my home directory. The last command I entered UNsuccessfully was

“smbmount //server/share /home/username”

I got the error”

“smbmnt must be installed suid root for direct user mounts (500,500)”

I follow instructions at http://tinyurl.com/naseq and ran

chmod u+s /usr/bin/smbmnt /usr/bin/smbumount

as su. I was then able to run the smbmount command. These were the only commands I entered since my previous login. My next objective was to read the /etc/fstab file, but I couldn’t view it in the GUI. I rebooted and got the “Permission denied” error above.

Anybody know what I did wrong this time?

This discussion is locked

All Comments