🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #83

Re: umask 027 and Slackbuilds

#83
From: Marco Moock
Date: Fri, 04 Dec 2026 15:10
23 lines
1925 bytes
Am 04.12.26 um 15:37 schrieb jayjwa:
> Marco Moock <mm@dorfdsl.de> writes:
> 
>> I set a default umask of 027 due to security reasons. That has the
>> effect that the Slackbuilds destroy the permissions of the file system
>> because folders like /usr/bin are then created with o= if the package
>> is being installed.
> 
> Set umask 022 in the SlackBuild. That's what I do. If you need to change
> permissions to something special later, you can do it with doinst.sh or
> change the permissions manually in the staging area before you run
> makepkg. 'makepkg -c n' will leave the permissions as you set them.

Is there a general way to do this for all builds?

In that case I do not use sbo (because I want the latest version), but 
in case I do, that looks like PITA.

-- 
Gruß
Marco

Spam bitte an abfallentsorgung24@stinkedores.dorfdsl.de
Technical Details
Message-ID: <11eul4f$8q8r$1@solani.org>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
References: <11esg4i$79kl$1@solani.org> <87qzfxw1q2.fsf@atr2.ath.cx>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: Marco Moock <mm@dorfdsl.de>
Newsgroups: alt.os.linux.slackware
Subject: Re: umask 027 and Slackbuilds
Date: Fri, 4 Dec 2026 16:10:07 +0100
Organization: keine vorhanden, alles chaotisch
Message-ID: <11eul4f$8q8r$1@solani.org>
References: <11esg4i$79kl$1@solani.org> <87qzfxw1q2.fsf@atr2.ath.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 4 Dec 2026 15:10:07 -0000 (UTC)
Injection-Info: solani.org;
	logging-data="289051"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qeCIzPJD2ey4heWDpNedCE/1BGs=
Content-Language: en-US, de-DE
In-Reply-To: <87qzfxw1q2.fsf@atr2.ath.cx>
X-User-ID: eJwFwYEBwCAIA7CXQGxx5yCs/59ggqCzcxPcEPQvq4LL1ODk3Nt+WHW8csI+IqSY063UsngwVhG3