Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: bigpcman on January 30, 2010, 03:21:50 PM
-
The guidelines for creating extension startup scripts in http://forum.tinycorelinux.net/index.php?topic=2072.0 (http://forum.tinycorelinux.net/index.php?topic=2072.0) states
Note: It is very important to set the permissions on the startup script to root:staff/775. The same for the /usr/local/tce.installed directory itself. This directory needs to be read/write/execute for group staff.
I noticed the scripts in many extensions like opera have ownership root:root. Can the group be staff or root for both the tmp/package../tce.installed and script file, does it matter?
-
Groupd needs to be staff and the perms need to be 775 for the /usr/local/tce.installed directory and preferably also for the file.
-
Groupd needs to be staff and the perms need to be 775 for the /usr/local/tce.installed directory and preferably also for the file.
OK
If as user "tc" I perform mkdir -p package/usr/local/tce.installed all the directories in the path will have tc:staff ownership. Can I assume the extension installation will preserve /usr/local ownership as root:root and tce.installed as tc:staff?
edit: I tried this out and the perms are not maintained.
-
As root, or using sudo, use these commands
chown -R root:staff package/usr/local/tce.installed
chmod -R 775 package/usr/local/tce.installed
before packing the extensions. That will ensure the right perms.
-
As root, or using sudo, use these commands
chown -R root:staff package/usr/local/tce.installed
chmod -R 775 package/usr/local/tce.installed
before packing the extensions. That will ensure the right perms.
Thanks for the tips.