You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andrew Rosolino <an...@shiftcode.com> on 2007/03/09 01:46:30 UTC

Re: [2] Auto-whitelist Errors & others.

Why does a directory need execute permissions?


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
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/Auto-whitelist-Errors---others.-tf3371373.html#a9386463
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: [2] Auto-whitelist Errors & others.

Posted by Bob McClure Jr <bo...@bobcatos.com>.
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.
bob@bobcatos.com             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)

Re: [2] Auto-whitelist Errors & others.

Posted by Andrew Rosolino <an...@shiftcode.com>.
Thanks guys everything is good now =D!


Phil Barnett wrote:
> 
> On Thursday 08 March 2007 19:46, Andrew Rosolino wrote:
>> Why does a directory need execute permissions?
> 
> Because you can't use it and you can't move into it unless it does.
> 
> -- 
> Balmer is basically saying: We know there's a problem but we're not going
> to 
> tell you what it is because we want to ambush you in the future.
> 
> 

-- 
View this message in context: http://www.nabble.com/Auto-whitelist-Errors---others.-tf3371373.html#a9386624
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: [2] Auto-whitelist Errors & others.

Posted by Phil Barnett <ph...@philb.us>.
On Thursday 08 March 2007 19:46, Andrew Rosolino wrote:
> Why does a directory need execute permissions?

Because you can't use it and you can't move into it unless it does.

-- 
Balmer is basically saying: We know there's a problem but we're not going to 
tell you what it is because we want to ambush you in the future.