Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


/var/spool Permission denied - FIXED

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
daikamar



Joined: 22 Mar 2007
Posts: 5

Posted: Thu Mar 22, 2007 5:55 pm    Post subject: /var/spool Permission denied - FIXED  

I've been getting some odd permission denied erros on my /var/spool directory:

sendmail.postfix:
sendmail.postfix: fatal: chdir /var/spool/postfix: Permission denied

squid proxy:
2007/03/22 18:38:01| /var/spool/squid: (13) Permission denied

I'm also getting some programs referencing directories within /var/spool/ that say the directories are not directories.

I'm having a heck of a time figuring it out.

The color code for the /var/spool/ directory is unfamiliar and I'm wondering if it's related to the problem:



Any ideas?
Back to top  
piglet



Joined: 22 Oct 2006
Posts: 17

Posted: Thu Mar 22, 2007 6:20 pm    Post subject:  

drw-rw-rw- is a strange set of permissions for a directory. The x flag for directories controls whether you can access the contents of the directory or not. So with no x flags set, nobody can access the directory contents.

My /var/spool in Ubuntu is drwxr-xr-x.
Back to top  
daikamar



Joined: 22 Mar 2007
Posts: 5

Posted: Fri Mar 23, 2007 10:13 am    Post subject:  

I don't know how it changed but changing the permissions fixed it.

Thanks!!

The color also went to the normal blue as well which is good (should be a good visual que of the problem next time)

Thanks again!
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1