Tiny Core Base > Release Candidate Testing
Core v14.0beta1
aus9:
Hi GNUser
I am confused again after Apps update for submitqc...I have
--- Code: ---submitqc: icewm.tcz file and directory ownership/permissions follow wiki recommendations?
squashfs root dir ownership not tc:staff. Will rebuild squashfs to fix
--- End code ---
I thought we were going with root:staff?
when I look at the last output I see
/tmp/submitqc/basicfileperms
and I think this was once something like tce.install changed...while basicfileperms is a bit vague for me
sorry if I have not read something...again
jazzbiker:
It would be nice to adjust http://tinycorelinux.net/14.x/x86/tcz/tcc.tcz.dep to match an actual kernel version:
--- Code: ---sed -i 's/5.15/6.1/' tcc.tcz.dep
--- End code ---
Regards!
GNUser:
Hi aus9. root:staff is for startup script and tce.installed directory, tc:staff on squashfs's root dir, root:root for everything else.
I got root:staff and root:root from wiki recommendations. tc:staff on squashfs's root dir is not specifically mentioned but is seen on vast majority of repo's extensions, including all of Juanito's extensions.
GNUser:
Hi aus9. Just two more thoughts for completeness's sake:
1. Inspecting extensions
To inspect ownerships and permissions inside an extension, don't extract it. When contents are extracted and written to your drive (or to your RAM), ownerships and permissions can change. To inspect an extension, look inside it without extracting it, like this:
--- Code: ---unsquashfs -lls foo.tcz
--- End code ---
To see ownership and permissions of root directory of all your loaded extensions, do:
--- Code: ---ls -l /tmp/tcloop
--- End code ---
2. Flexibility of the extension system
TCL is very flexible and forgiving when it comes to ownerships and permissions in extensions. For example, wiki recommends root:staff 775 for startup scripts, but submitqc was forcing tc:staff 755 for a long time without any problems. Also, wiki recommends root:root for most directories and files, but I've seen extensions where everything is owned by tc:staff (or 1000:staff in the case of some of my old extensions) and they work just fine. Furthermore, most extensions have tc:staff ownership of squashfs-root directory, but you'll also see root:root (or 1000:staff in the case of some of my old extensions) and it makes little difference.
IMHO the job of submitqc should be twofold: 1. correct obvious errors (most important) and 2. ensure conventions and wiki recommendations are followed (less important, but still a nice service and cosmetically desirable).
[Edit]: Fixed typo, changed 1001:staff to 1000:staff. Rich
Rich:
Hi jazzbiker
--- Quote from: jazzbiker on March 19, 2023, 11:36:19 AM ---It would be nice to adjust http://tinycorelinux.net/14.x/x86/tcz/tcc.tcz.dep to match an actual kernel version: ...
--- End quote ---
Fixed. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version