<br><br><div><span class="gmail_quote">On 10/15/07, <b class="gmail_sendername">Robby Workman</b> <<a href="mailto:rworkman@slackbuilds.org">rworkman@slackbuilds.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
John Ingersoll wrote:<br>> Hi,<br>><br>> I've installed two packages from slackbuilds and experienced the same<br>> problem both times .<br>><br>> The most recent install was ppracer. After both installations, I noticed
<br>> my user account didn't have permissions to do some of the simplest<br>> tasks, e.g., `ls'.<br><br><br>We don't have ppracer in our repo, so this was not from us.</blockquote><div><a href="http://slackbuilds.org/repository/11.0/games/ppracer/">
http://slackbuilds.org/repository/11.0/games/ppracer/</a><br><a href="http://slackbuilds.org/slackbuilds/11.0/games/ppracer.tar.gz">http://slackbuilds.org/slackbuilds/11.0/games/ppracer.tar.gz</a><br><br>Sorry I should have said I'm still running Slack11
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What was the other?</blockquote><div><br>tuxtype2 (also SW11: and that occured several months back)
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> It was because Permissions on the following directories got changed to<br>
> 750 root:root :<br>> / /usr /usr/bin /usr/doc /usr/share<br>><br>> In the SlackBuild file there is:<br>><br>> <code><br>> chown -R root:root .<br>> chmod -R a-s,u+w,go-w+r .<br>> </code>
<br>><br>> which is taking place in /tmp/SBo... ok no problem there ...<br>> ... and in fact after the build these dirs (/ /usr...) permissions<br>> were ok. (At first I thought chown / chmod -R were recursing upwards,
<br>> i.e. hitting "..": I always set GLOBIGNORE='.:..' in my profile to keep<br>> myself from doing this with chown -R *)<br>><br>> ... It was in fact after installpkg that these (/ /usr ...) above got
<br>> changed.<br>><br>> Is it absolutely necessary to set ownership/permissions that way in the<br>> build? Or do I have something configured wrong that makes the installpkg<br>> behave strange? I.e. overwriting the permissions when it copies
<br>> directories (i've used installpkg / pkgtool a number of times with .tgz<br>> files without this happening)<br><br><br>It sounds like the package has incorrect permisssions on the /usr,<br>/usr/bin, /usr/doc, and /usr/share (and perhaps other) directories.
<br>This should not happen.</blockquote><div><br>The easiest thing would be to change the SlackBuild file so the chown & chmod set permissions like my current system. But I'd really like to know what installpkg uses to copy the files : why it overrides existing permissions.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If this is occurring in a package that was built from something we<br>have in our repo, then please advise. If it was from someone else's
<br>build script (as appears to be the case), then tell them. :-)<br><br>RW<br>_______________________________________________<br>Slackbuilds-users mailing list<br><a href="mailto:Slackbuilds-users@slackbuilds.org">Slackbuilds-users@slackbuilds.org
</a><br><a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br><br>Please read the FAQ - <a href="http://slackbuilds.org/faq/">http://slackbuilds.org/faq/
</a><br></blockquote></div><br>