WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't why I get wrongstartscriptperms  (Read 844 times)

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Can't why I get wrongstartscriptperms
« on: November 18, 2022, 06:17:44 PM »
Hello,

My minidlna extension is ready to be published, but submitqc --libs complains about wrongstartscriptperms.

Code: [Select]
submitqc --libs
...
submitqc: minidlna.tcz startup files ok?
Startup script permissions were corrected.
Startup script ownership was corrected.
...
submitqc: minidlna.tcz checks end =====


submitqc: There are warnings or errors for your extensions. See:
/tmp/submitqc/wrongstartscriptperms

but ... why ?
Code: [Select]
$ ls -la inst/usr/local/tce.installed/
total 3
drwxrwxr-x    2 root     staff         1024 Nov 19 00:48 ./
drwxr-xr-x    6 root     root          1024 Nov 19 00:45 ../
-rwxrwxr-x    1 root     staff          154 Nov 19 00:27 minidlna

I've trying also with root:root, executable or not, rwxr-xr-x ... but none seems good.

And, additionally, submitqc is saying it corrected the tcz file (and it's true, the file stamp changed) ... but re-runing it again is raising the same error.

I'm lost  :(

Thanks for any tips.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Can't why I get wrongstartscriptperms
« Reply #1 on: November 18, 2022, 09:27:53 PM »
Hi destroyedlolo
The  submitqc  script is looking for the following permission and owner settings:
Code: [Select]
drwxrwxr-x (775) root staff  tce.installed
drwxr-xr-x (755) tc   staff  tce.installed/ExtensionName

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Can't why I get wrongstartscriptperms
« Reply #2 on: November 19, 2022, 04:01:25 AM »
So, my problem was elsewhere : as I ran the tool with another user than tc (I'm connecting to this machine remotely).

So now minidlna is ready to be published.

I was tedious to compile it as it as dependency ffmpeg and ffmpeg-dev has ... 300M+ of dependancies  :o Fortunately, the final version is more ... light.