Hello,
I am porting my first program to Linux, a free program.
Learning Linux and Lazarus has been fun.
GetAppConfigDir is...confusing.
"GetAppConfigDir returns the name of a directory in which the application should store its configuration
files on the current OS."
OK, the program settings are global (all users use the same settings) so I pass true and get back a path to "/etc/ <app name>". Now the rub, the user does not have permission to write to that directory. Catch-22.
Why return a directory/path that requires all users to have root access?
Confused. If that is not the directory to create/read/modify configuration settings for all users, regardless of rights, what is the correct directory?
Thanks,
Mark