Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Thumbnail Image Quality
#18
(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
Reply


Messages In This Thread
Thumbnail Image Quality - by christopherr - 11-03-2018, 03:41 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-03-2018, 04:15 PM
RE: Thumbnail Image Quality - by christopherr - 11-03-2018, 06:13 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-03-2018, 07:47 PM
RE: Thumbnail Image Quality - by christopherr - 11-04-2018, 01:47 AM
RE: Thumbnail Image Quality - by codiac - 11-15-2019, 09:48 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-04-2018, 02:08 AM
RE: Thumbnail Image Quality - by christopherr - 11-04-2018, 03:06 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-04-2018, 03:20 AM
RE: Thumbnail Image Quality - by christopherr - 11-04-2018, 04:31 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-04-2018, 04:57 PM
RE: Thumbnail Image Quality - by christopherr - 11-04-2018, 08:09 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-04-2018, 10:28 PM
RE: Thumbnail Image Quality - by christopherr - 11-05-2018, 04:04 PM
RE: Thumbnail Image Quality - by christopherr - 11-05-2018, 04:14 PM
RE: Thumbnail Image Quality - by TheOldPresbyope - 11-05-2018, 04:22 PM
RE: Thumbnail Image Quality - by christopherr - 11-05-2018, 04:16 PM
RE: Thumbnail Image Quality - by christopherr - 11-05-2018, 04:25 PM
RE: Thumbnail Image Quality - by TheOldPresbyope - 11-05-2018, 04:39 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-05-2018, 06:34 PM
RE: Thumbnail Image Quality - by swizzle - 11-05-2018, 07:55 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-05-2018, 08:27 PM
RE: Thumbnail Image Quality - by christopherr - 11-06-2018, 02:34 PM
RE: Thumbnail Image Quality - by BryceJ - 11-07-2018, 03:59 AM
RE: Thumbnail Image Quality - by swizzle - 11-07-2018, 09:27 PM
RE: Thumbnail Image Quality - by BryceJ - 11-07-2018, 11:48 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-07-2018, 11:56 PM
RE: Thumbnail Image Quality - by BryceJ - 11-08-2018, 12:36 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-08-2018, 01:10 AM
RE: Thumbnail Image Quality - by BryceJ - 11-08-2018, 02:06 AM
RE: Thumbnail Image Quality - by BryceJ - 11-08-2018, 02:56 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-08-2018, 03:08 AM
RE: Thumbnail Image Quality - by BryceJ - 11-08-2018, 03:46 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-08-2018, 02:55 PM
RE: Thumbnail Image Quality - by swizzle - 11-09-2018, 12:22 AM
RE: Thumbnail Image Quality - by BryceJ - 11-09-2018, 01:19 AM
RE: Thumbnail Image Quality - by codiac - 11-15-2019, 09:58 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-08-2018, 07:38 PM
RE: Thumbnail Image Quality - by Tim Curtis - 11-09-2018, 02:43 AM
RE: Thumbnail Image Quality - by BryceJ - 11-09-2018, 08:15 AM
RE: Thumbnail Image Quality - by Tim Curtis - 11-09-2018, 02:08 PM

Forum Jump: