LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   SlackBuilds - file permissions (http://www.linuxquestions.org/questions/slackware-14/slackbuilds-file-permissions-366315/)

merchtemeagle 09-23-2005 12:44 PM

SlackBuilds - file permissions
 
In different SlackBuild scripts there are lines like

Code:

chown -R root.root .
find . -perm 777 -exec chmod 755 {} \;
find . -perm 664 -exec chmod 644 {} \;

(...)

chmod 755 $PKG/usr/bin/*
chown -R root:bin $PKG/usr/bin

Of course I know what these command do. But when I'm building my own packages, for applications that have no 'official' scripts, how do I know what permissions to set for certain files?

Are there some rules of thumb?

uselpa 09-23-2005 02:47 PM

Maybe this can help you: http://www.homepages.lu/pu/pkgcheck.html.


All times are GMT -5. The time now is 09:23 AM.