[Slackbuilds-users] Problems with system permissions getting changed
John Ingersoll
jh.ingersoll at gmail.com
Mon Oct 15 21:32:59 UTC 2007
Hi,
I've installed two packages from slackbuilds and experienced the same
problem both times .
The most recent install was ppracer. After both installations, I noticed my
user account didn't have permissions to do some of the simplest tasks, e.g.,
`ls'.
It was because Permissions on the following directories got changed to 750
root:root :
/ /usr /usr/bin /usr/doc /usr/share
In the SlackBuild file there is:
<code>
chown -R root:root .
chmod -R a-s,u+w,go-w+r .
</code>
which is taking place in /tmp/SBo... ok no problem there ...
... and in fact after the build these dirs (/ /usr...) permissions were
ok. (At first I thought chown / chmod -R were recursing upwards, i.e.
hitting "..": I always set GLOBIGNORE='.:..' in my profile to keep myself
from doing this with chown -R *)
... It was in fact after installpkg that these (/ /usr ...) above got
changed.
Is it absolutely necessary to set ownership/permissions that way in the
build? Or do I have something configured wrong that makes the installpkg
behave strange? I.e. overwriting the permissions when it copies directories
(i've used installpkg / pkgtool a number of times with .tgz files without
this happening)
TIA
JOhnI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20071015/5ac22f85/attachment-0002.html
More information about the Slackbuilds-users
mailing list