11-05-2018, 04:39 PM
(11-05-2018, 04:25 PM)christopherr Wrote:(11-05-2018, 04:16 PM)christopherr Wrote: There are some inconsistencies in the folder ownership:
Code:drwxr-xr-x 4 root staff 4096 Nov 5 07:46 imagesw
but
Code:drwxr-xr-x 2 root root 172032 Nov 5 08:47 thmcache
Could it be related to the issue of not being able to remove the images?
After a quick google:
Quote:staff: Allows users to add local modifications to the system (/usr/local) without needing root privileges (note that executables in /usr/local/bin are in the PATH variable of any user, and they may "override" the executables in /bin and /usr/bin with the same name). Compare with group "adm", which is more related to monitoring/security.
Is there a special reason we are using root : staff for folders in /var/local/ ?
Why should user pi have special privileges in the system directories? Where it's necessary in the UI code, the sudo command is used to raise user pi's privileges temporarily.
Regards,
Kent