On Mon, Jul 09, 2001 at 01:13:51PM -0400, Jack Sasportas wrote:
> I added the option
>     --enable-cache-dir=/var/spool/mail/temp
> so that I can seperate all those .cache files from the mail spool files,
> but I started getting security errors when the users attempted to write
> the file as they popped their accounts, can you tell me what the propper
> security setting is for that new temp directory?

Permissions should be such that any user can create a file and write to
their own file but nobody can delete anybody else's file.  This usually
requires the "sticky bit" to be set; it should normally be identical to
the permissions and ownership on /var/mail and frequently to those on
/tmp.

On this system it shows up in ls as:

"drwxrwxrwt  root  wheel"

Note the "t" indicating the sticky bit is set.
  -- Clifton

-- 
 Clifton Royston  --  LavaNet Systems Architect --  [EMAIL PROTECTED]
   WWJD?   "JWRTFM!" - Scott Dorsey (kludge)   "JWG" - Eddie Aikau

Reply via email to