LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-31-2007, 09:01 AM   #1
etuhs
LQ Newbie
 
Registered: May 2007
Location: South Carolina
Posts: 3

Rep: Reputation: 0
Exclamation Cannot write to /misc directory - permission denied as root


Running FC 6, on several installs, no user - including root can write to the /misc directory. You get a permission denied even as root! There doesn't seem to be any files in the directory (ls -a) and it is mounted as part of /. Trying to delete the directory replies "Drive or resource busy".

I restarted and ran as runlevel 1 where I was able to write files to the directory and even delete the directory. Restarting the computer in runlevel 5 it goes back to permission denied for every user including root. Haven't tried runlevel 3 yet.

SELinux is not running (supposedly) and rights for users are correct. What concerns me is that FC 6 is using that directory and writing files that even a root user cannot see.

Any ideas or information?
 
Old 05-31-2007, 09:32 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Look at "rpm -qf /misc"
 
Old 05-31-2007, 12:06 PM   #3
etuhs
LQ Newbie
 
Registered: May 2007
Location: South Carolina
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

Ah, so it is part of autofs - thanks. All I needed to do is prevent autofs from using the /misc directory. Changing a few files like:

/etc/auto.master
/etc/auto.misc

Thanks
 
Old 05-31-2007, 05:36 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
I don't understand what your concern with the /misc directory is. It may actually be a psuedo directory like /proc. You shouldn't be concerned about it. I'm concerned your changes may have side effects.
 
Old 06-01-2007, 07:20 AM   #5
etuhs
LQ Newbie
 
Registered: May 2007
Location: South Carolina
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for your concern. The reason I need to write to the /misc directory is because of a legacy application. It used that directory long before Fedora started including /misc in its default file system hierarchy.

Currently, I have changed auto.master to point to /misc/automount for the entries in auto.misc which, except for the CDROM contains no entries. By the way, I checked the CDROM and it works fine. There shouldn't be a problem. Thanks for the clue to solving the problem. Now I can go on to solve some of the other world problems.
 
  


Reply


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
Permission denied existing directory root/user BDHamp Linux - General 5 04-10-2006 09:41 AM
root gets 'Permission denied' to directory mikemrh9 Linux - Security 2 11-18-2005 04:15 AM
permission denied to home directory ekdya Debian 3 11-08-2005 04:24 PM
Python CGI script can't write files, permission denied The_Nerd Programming 4 03-17-2005 12:19 PM
Permission denied when trying to write to ttyS0 thepoint Linux - General 0 06-03-2004 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:54 PM.

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