[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with "make install" directory permissions
From: |
Frank Heckenbach |
Subject: |
Re: problems with "make install" directory permissions |
Date: |
Tue, 28 Jul 2020 01:18:11 +0200 |
Karl Berry wrote:
> https://lists.gnu.org/r/bug-bison/2020-07/msg00042.html
>
> I can understand increasing permissions to allow +rx on installation
> directories, but why force 755, thus disallowing group writability?
> I've never understood this forcing of 755.
As the one who originally brought this up on bug-bison, I was only
referring to newly created install directories. Existing directories
should not have their mode changed, IMHO.
One can certainly argue for g+w. Since the directories are newly
created, one cannot look at the existing mode to decide whether to
do this. One could use the umask for that bit only, though this may
be a bit unintuitive. So a typical umask of 022 or 077 would result
in 755, but a umask of 002 or 007 would result in 775.
Regards,
Frank