Score:0

Trouble with permissions on system wide, application specific files, .ini and run profiles

US flag

Writing application for desktop "automation" program, a GUI that runs bespoke hardware that runs in a laboratory. Saving 2 types of files, one is a settings .ini file, saves comm parameters, system settings and system specific variables. Second type is run files, a set of instructions the program runs thru that multiple users interface with. Usually one person writes the run file, and another user runs the file. These files need to be mostly out of general user areas as there is some protection on them to not be edited.

Conventional wisdom dictates application goes in /usr/local/bin/application and the other files go in /usr/local/share/application.

As it is right now, permissions are too tight on the /share/ to write the run or .ini file. Extra twist, all the different level users have different permissions on the rest of the system and belong to different GUID groups as well as a application specific group I thought would be able to use for permissions to the proper areas.

So, i.e. group appgroup signifies all users using the app should have access to that groups files. Group appuser, has access to files to use the app, and group appedit has access to create and edit the files that get run.

I set group(appgroup) permissions for rwx in /usr/local/share/appname/ folder, but still can't write .ini or run files to folder. What am I missing?

All input welcome.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.