hello and good day LQ.
I've been looking for some guides, tutorials, howtos or documentations about how a multi-user capable program work. I need it to work my music playing script work correctly.
Does anybody here know any idea about, or do you know links or files that have such info?
Explaination:
This I mean programs (e.g. firefox) that uses the user directory of a user for storing data (e.g. ~/.firefox) but is still also able to read and write to global or shared directories like /var/tmp/firefox.
I know we can just do chmod 0777 /var/tmp/firefox but I think it will be unclean and may also cause risk in securities.
We can also make a group so that we can access /var/tmp/firefox using permissions like 0770 but I'm still finding a simpler method than that.
Can SETUID also help?
Status:
I've already been looking for good info in google but I failed.
I'm still on my way on making my program done. It's a music playing script I call playshell. The script is already capable of running in multi-user mode but the workaround is unclean.
You can check the script at
http://sf.net/projects/playshell.
The original thread btw where I first introduced the program (it's actually about playing music in console) is
here.
Any info shall be greatly appreciated.
Thanks in advance
konsolebox