procmail
[Top] [All Lists]

Re: Procmail from the aliases file? (again)

1997-01-17 12:17:40
On Jan 15, 11:38, Philip Guenther wrote:
Subject: Re: Procmail from the aliases file? (again)

                [... orig deleted ... ]

Procmail _will_ follow symlinks from /etc/procmailrcs/whatever, but whoever
makes the link needs to be careful: the file will be processed as the
owner of the _symlink_ *not* the owner of the underlying file.

That's good to know since many file copying strategies don't preserve
symlink ownership when creating the target as root, such as `ufsrestore'
on Solaris 2.  Others do, like Solaris 2's and newer versions of GNU
`tar'.  Relying on the ownership of a symlink is foolish, and a security
buglet in `procmail' if indeed what you say is true (I'm too lazy to
check right now).

-sjk

-- 
Scott J. Kramer
UNIX Software Consultant
<sjk(_at_)lux(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>