Tiny Core Extensions > TCE News

/usr/local/tce.* ownership and perms

<< < (3/7) > >>

Jason W:
I have been informed /usr/local/tce.* was set to root:staff with 775 perms in base for a reason, so that is the accepted permission for those directories.

I will update the audit script to reflect that.

Do not worry about extensions that already exist in the repo or have just been submitted.  I will deal with those.

Kingdomcome:
And for the files inside those dirs? I assume:
755 root:staff /usr/local/tce.installed/appname
644 root:staff /usr/local/tce.icons/*
644 root:staff /usr/local/tce.menu/appname

Jason W:
Yeah, that should be good.  775 for the startup scripts preferably, and 644 for the other regular files, root:staff owned.

Kingdomcome:
775 for scripts, roger.  thanks for getting this sorted out, standardizing these setting will hopefully avoid any problems and possible changes to extension loading in the base.  I will take a look at updating the extension creation wiki in the next couple days.

mikshaw:

--- Quote ---Mkdir by default sets perms to 755, so 775 has to be set after the /usr/local/tce.* directories are created.
--- End quote ---
Unless you do mkdir -m 775

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version