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 : [email protected]
WWW   : http://www4.informatik.uni-erlangen.de/~morty




Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

_______________________________________________
X2go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to