Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: roger@languageONE.com.au on November 22, 2016, 05:38:26 PM
-
I am preparing an update to my existing extension (languageONE) and must apologies if we had covered this when I prepared the original (I have gone over my original queires and googled but to no avail)
After loading the extension If I try to run /usr/local/bin/makeONE.sh I receive a permission denied.
If I try as superuser I receive the same response.
I see the file is root:root but believe the permissions show setuid
Any clues ??? :P
-
change the second line in makeone.sh to "id; exit" and check that it gets run and then exits.
-
No success there but I have observed the following:-
lrwxrwxrwx root root /usr/local/bin/wbar --> rwxr-xr-x root root /tmp/tcloop/wbar/usr/local/bin/wbar
whereas
lrwxrwxrwx root root /usr/local/bin/makeONE.sh --> -rw-r--r-- 1000 1000 /tmp/tcloop/languageONE/usr/local/bin/makeONE.sh
originating system rwxr-xr-x roger roger makeONE.sh
The user and group seem to reflect the user/group of the originating system.
-
ok, then you didn't set the permission right before squashing
-
Not sure what you mean here...
(original) rwxr-xr-x roger roger makeONE.sh
(tinycore) -rw-r--r-- 1000 1000 /tmp/tcloop/languageONE/usr/local/bin/makeONE.sh
It is tinycore that seems to have changed the permissions...
I can see the user:group may need fixing..? but what to
-
Hold on, that might be me.
I notice when I prepare the extension my bin/* rwxr-xr-x is being changed to rw-r--r--
I'll have a look at that and I see from the wiki that user/group should be root:root. Is that correct ??
-
Hiro..
Thanks for the push in the right direction.
Everything looks a lot better know
Cheers
Roger