Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-15-2006, 02:21 PM   #1
Registered: Jul 2004
Posts: 44

Rep: Reputation: 15
"GDM cannot write to your authorization file...etc"

There are several posts which ask this question, so I'll post my own problem and solution and hope a search will help someone!

I meant to delete all of the files in my /tmp directory but actually ended up deleting the whole directory.

When I rebooted, I got the message "GDM cannot write to your authorization file...etc"

I knew by using the df command that my partitions were not full.

Some other posts mentioned something about permissions.

That got me thinking: perhaps my user login was trying to write to /tmp but that directory had been recreated as root! Sure enough!

Solution: Using a terminal as root, type:
chmod 0777 /tmp

This gives GDM permission to write to the /tmp directory when you log in as a mere user.

Note that this will only work if you have an active root account. If not, you may have to log in at a failsafe terminal (rescue mode from Grub) and do it from that command line.
Old 02-16-2006, 11:18 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
If you have a multi-user system can I suggest that you run the following to stop users being able to delete each other's files:
chmod -c 1777 /tmp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 10:00 AM
GDM could not write to my authorization file ?&*%$^ carlos1 Linux - Newbie 4 09-09-2005 01:55 AM
SuSE update caused "Unknown AUTHORIZATION state command" StigIrish Linux - Networking 1 05-06-2005 11:51 AM
Grip- "no write access to write encoded file" Alvis Linux - Software 4 01-06-2004 05:18 PM
"E297: Write error in swap file" :-( sudhir_gunda Linux From Scratch 2 12-29-2003 02:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration