Discussion Locked

Linux newb locked out of /home/username

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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?

3 replies

by larryhyman

Sorry, I don't know much about Red Hat, but are you able to fix this problem when you log in as root? Also, as an extreme, what happens when you log in as root and delete the user and then recreate it?

This discussion is closed to new replies.