On Thu, Mar 08, 2007 at 04:46:30PM -0800, Andrew Rosolino wrote:
> 
> Why does a directory need execute permissions?

For directories, the "x" bit makes it traversable.  That means if
/foo/ has permissions drw-rw-rw-, then you can read (and write) the
directory but you can't get to any of any of the files in the
directory, and you cannot get into /foo/bar/ even if the latter has
permissions drwxrwxrwx.

> Theo Van Dinter-2 wrote:
> > 
> > On Thu, Mar 08, 2007 at 11:44:31AM -0800, Andrew Rosolino wrote:
> >> Mar  8 14:42:32 penguin spamd[15553]: spamd: setuid to root succeeded
> >> Mar  8 14:42:32 penguin spamd[15553]: spamd: still running as root: user
> >> not
> >> specified with -u, not found, or set to root, falling back to nobody at
> >> /usr/bin/spamd line 1147, <GEN15> line 4.
> > 
> > don't call spamd (via spamc) as root.
> > 
> >> Here is the permissions for the folder:
> >> drw-rw-rw-    2 root     nobody       4096 Mar  8 14:35 spamassassin/
> > 
> > That's definitely not going to work.  0777, not 0666 (directory, not a
> > file).
> > 
> > -- 
> > Randomly Selected Tagline:
> > "You can't build a reputation on what you are going to do." - Henry Ford

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
[EMAIL PROTECTED]             http://www.bobcatos.com
And without faith it is impossible to please God, because anyone who
comes to him must believe that he exists and that he rewards those who
earnestly seek him.  Hebrews 11:6 (NIV)

Reply via email to