Article View: alt.os.linux.slackware
Article #82Re: umask 027 and Slackbuilds
From: jayjwa
Date: Fri, 04 Dec 2026 14:37
Date: Fri, 04 Dec 2026 14:37
15 lines
1560 bytes
1560 bytes
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.
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Technical Details
Message-ID:
<87qzfxw1q2.fsf@atr2.ath.cx>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-mailReferences:
<11esg4i$79kl$1@solani.org>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: jayjwa <jayjwa@atr2.ath.cx.invalid> Newsgroups: alt.os.linux.slackware Subject: Re: umask 027 and Slackbuilds Date: Fri, 04 Dec 2026 09:37:57 -0500 Organization: Atr2 RG 2026 Message-ID: <87qzfxw1q2.fsf@atr2.ath.cx> References: <11esg4i$79kl$1@solani.org> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: solani.org; logging-data="415857"; mail-complaints-to="abuse@news.solani.org" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:fn1AEqrEJEQSc2ESLDV+a3AXXl4= sha1:s8qTKM9zRhzvsZLhwFU6MJEnhaQ= X-User-ID: eJwNyUkBwDAIBEBLnAuRAzT4l5DOd1zBmDA4zNf3A8XQyOkS9LUgObTJaiBlzkivmuq/F3r5AQ3JELg=