WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC no longer accepts a sym link to a SUID ?  (Read 935 times)

aus9

  • Guest
TC no longer accepts a sym link to a SUID ?
« on: April 22, 2023, 12:20:27 AM »
Hi on TC64 14x I noticed that my SUID was not accepted for a package I had already submitted for seatd.
I did not record the error as it was at the console and is sway related. Being the impatient one, I pondered no time on why it was so
and built a tce.install script which does work for above package

Today I am just testing another package that runs in a virtual terminal and I can capture the error message
To my eyesight....the sym link is not accepting the SUID components in the /tmp/tcloop/package name

here is my circumstantial evidence

Code: [Select]
passed # password set for local user = tc

tce-load -i swaylock
swaylock.tcz: OK

tc@box:~$ swaylock -f
2023-04-22 04:09:43 - [shadow.c:19] swaylock needs to be setuid to read /etc/shadow

tc@box:~$ ls -al /tmp/swaylock/usr/local/bin
total 76
drwxr-xr-x 2 root root    60 Apr 22 03:52 ./
drwxr-xr-x 4 root root    80 Apr 22 03:53 ../
-rwsr-sr-x 1 root root 75336 Apr 22 03:52 swaylock

rwsr-sr-x 1 root root 75336 Apr 22 03:52 swaylock.....looks good to me

any clues?

As I said....I can work around it by adding an install script

thanks for reading