[Slackbuilds-users] Changing some odd permissions in a tarball.

Dave Margell dmargell at gmail.com
Sun Sep 9 17:45:40 UTC 2012


Think I'll just make a note in the SlackBuild to keep someone from
fixing a perceived typo.

Except for TAG="_custom" I believe it's ready to submit.

Thank you for the response!

On Sat, Sep 8, 2012 at 3:09 PM, B Watson <yalhcru at gmail.com> wrote:
> On 9/8/12, Dave Margell <dmargell at gmail.com> wrote:
>> # change directory permissions (700 to 755) of bin, doc, udiskie
>> # as well as the parent directory to allow a user to browse the source
>>
>> Where I've added an extra "dot" to the "find" command and also added "
>> -o -perm 700 "
>
> Is this in a subdirectory of the tarball's dir? For most builds, .. would
> refer to /tmp/SBo, which you probably didn't mean...
>
> Sometimes if upstream's tarball has weird permissions, it's best to
> ditch the template code and just do something like...
>
> chown -R root:root .
> find . -type f -exec chmod 644 {} \; -o -type d -exec chmod 755 {} \;
>
> In general, the template code is there to help you... if it doesn't help,
> you're not required to keep it exactly as-is. But if you change it,
> especially in a non-obvious way (your find command looks very similar to
> the template, someone in a hurry might not notice the changes or might
> think it's a typo and "correct" it), it's polite to leave a comment for
> the admins so they will know you did it that way for a reason.
>
> I don't speak for the SBo team, I'm just a user. The above is my opinion
> based on spending a few years submitting a bunch of builds.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udiskie.tar.gz
Type: application/x-gzip
Size: 3110 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20120909/942ab2a1/attachment-0001.bin>


More information about the SlackBuilds-users mailing list