On 2011-07-18 15:43, Mike Gabriel wrote:
owner: root
doesn't that conflict with the setuid bit?
Damn. Stupid me!
-> owner: x2gouser -> + setuid bit
group: x2gouser chmod g+rx,g-w (Same for the directory containing the file.....)
So how can we set permissions with setuid and owner=root?
Should be possible using the group-S-bit -> keep the user, but make the database writeable to the x2gouser-group.
Any objections? Did I think to short-sighted again?
Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty