bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing [/usr/local]/var/lib and [/usr/local]/tmp


From: Bruno Haible
Subject: Re: Missing [/usr/local]/var/lib and [/usr/local]/tmp
Date: Mon, 18 Jul 2022 16:22:16 +0200

Jeffrey Walton wrote:
> I believe MacOS maps /etc and /tmp to a private area for the user.
> They are not world readable/writable. I believe Apple did it for
> hardening.
> 
> Here's from a MacOS X 10.5 machine I have:
> 
>     $ ls -l /etc /tmp
>     lrwxr-xr-x@ 1 root  wheel  11 Feb 10  2015 /etc -> private/etc
>     lrwxr-xr-x@ 1 root  wheel  11 Feb 10  2015 /tmp -> private/tmp

/tmp is world-writable, of course:

$ ls -lLd /etc /tmp
drwxr-xr-x@ 124 root  wheel  3968 27 Jun 01:25 /etc
drwxrwxrwt@   8 root  wheel   256 18 Jul 14:38 /tmp

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]