Date: Fri, 14 Jul 2000 13:54:17 +0200 From: Willem Brown <willem@brwn.org> To: Harry Putnam <reader@newsguy.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var/mail Read only with mutt Message-ID: <20000714135417.B72008@snoopy.brwn.org> In-Reply-To: <m2u2dthvrb.fsf@reader.ptw.com>; from reader@newsguy.com on Fri, Jul 14, 2000 at 03:05:44AM -0700 References: <87sntfapy5.fsf@satellite.local.lan> <20000713150234.G48641@strontium.scientia.demon.co.uk> <m2u2dthvrb.fsf@reader.ptw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
man 2 chmod and man 8 sticky
If mode ISVTX (the `sticky bit') is set on a directory, an unprivileged
user may not delete or rename files of other users in that directory. The
sticky bit may be set by any user on a directory which the user owns or
has appropriate permissions. For more details of the properties of the
sticky bit, see sticky(8).
Regards
Willem
On Fri, Jul 14, 2000 at 03:05:44AM -0700, Harry Putnam wrote:
> Ben Smithurst <ben@FreeBSD.ORG> writes:
>
> > . . . . . . . I prefer to make /var/mail mode 1777 (i.e.
> > world writable with the sticky bit, like /tmp). Just do a 'chmod 1777
> > /var/mail'. If you intend to upgrade using make world, you should put
> > this command in /etc/rc.local or somewhere since the upgrade will reset
> > /var/mail to its default mode (775).
> >
>
>
> Chmod 1777 cured the problem, but does it raise any tricky security problems?
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
--
/* =============================================================== */
/* Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours. */
/* =============================================================== */
When things are going well, someone will inevitably
experiment detrimentally.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000714135417.B72008>
