WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] 14x Can someone do a test for me manual load of acpid please  (Read 912 times)

aus9

  • Guest
on aarch64 ( Rpi) I found more than 1 issue in my setup and I think I have fixed it. But one issue remains, but I found same issue here on TC64 14x
Let me try and explain what little I know.
Your boot list loads TCEs from top to bottom. But each may have a dep file. And they load from bottom to top. So acpid is a small TCE to download and does not appear to be in any of my dep files.

Whoever has time to volunteer....on TC64 14x run  TEST1
Code: [Select]
ls -al /usr/local/tce.installedfocus on the hits for actual scripts....you and me both will see they are root:staff

For the volunteer now manually load acpid, which has no dep file run
Code: [Select]
tce-load -i acpid
Now run TEST2
Code: [Select]
ls -al /usr/local/tce.installed/acpid
curiously ls -al /tmp/tcloop/acpid/usr/local/tce.installed/ shows its currently tc:staff.

If volunteer can say...they too see root:root  TEST2, then my setup is still good and I will need report an issue for TC64.
If volunteer result is still good.....TEST2 shows root:staff then I have a bad setup

thanks for reading
« Last Edit: May 24, 2023, 04:34:02 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: 14x Can someone do a test for me manual load of acpid please
« Reply #1 on: May 23, 2023, 05:37:43 PM »
Hi aus9
/usr/local/tce.installed/acpid  shows  root:root
/tmp/tcloop/acpid/usr/local/tce.installed/acpid  shows  tc:staff

aus9

  • Guest
Re: 14x Can someone do a test for me manual load of acpid please
« Reply #2 on: May 23, 2023, 07:33:56 PM »
well in some ways thats a relief. But as you are Rich and not me, is this something that needs  a bug report.

if not, please mark as solved

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Hi aus9
I don't think this is an issue. Aside from  USER (tc)  and  Group (staff)  there
is a third field called  Other.  If you look at the permission bits:
tc@box:~$ ls -l /tmp/tcloop/acpid/usr/local/tce.installed/acpid 
-rwxr-xr-x 1 tc staff 97 Jan  8  2010 /tmp/tcloop/acpid/usr/local/tce.installed/acpid
tc@box:~$ ls -l /usr/local/tce.installed/acpid
lrwxrwxrwx 1 root root 47 May 23 20:34 /usr/local/tce.installed/acpid -> /tmp/tcloop/acpid/usr/local/tce.installed/acpid

you'll see the  read  and  execute  bits are set for  Other , meaning anyone is
allowed to execute the script.

aus9

  • Guest
hi Rich

thanks