[Slackbuilds-users] Wrong permissions after installation, broken download link
atelszewski at gmail.com
Sat May 14 11:13:31 UTC 2016
The other day I was playing with some icon themes available at SBo.
Among the other I tried
But it turned out that the download link at SBo
So I downloaded the source from
After the installation, it turned out that the file permissions are wrong.
It makes sense, since faba-mono-icons.SlackBuild does not do _chmod_ at
all and that is what you get when the source is extracted:
$ umask 022
$ tar -xf faba-mono-icons-4.2.tar.gz
$ cd faba-mono-icons-4.2
$ ls -l
-rw------- 1 antezu users 666 Feb 13 2015 AUTHORS
drwx------ 6 antezu users 4096 Feb 13 2015 Faba-Mono/
drwx------ 6 antezu users 4096 Feb 13 2015 Faba-Mono-Dark/
-rw------- 1 antezu users 371 Feb 13 2015 INSTALL
-rw------- 1 antezu users 35148 Feb 13 2015 LICENSE
It looks like in that case even our standard _find_ wouldn't do the job,
since the directories have "this" special permissions.
I might be wrong though, and I don't have enough power to analyze ;).
Doing the (very) naive:
$ grep -L ^find */*/*.SlackBuild
reveals around 150 SlackBuilds that do not use find to set permissions.
And it's probably correct in most of the cases.
But more alarming might be the following fact:
$ grep -L ^find */*/*.SlackBuild | grep "icon-theme\|icons"
and it looks like in some cases we depend solely on the permissions
provided by the tarball packager.
Which might not work out well in every case.
More information about the SlackBuilds-users