From: Robert J. <rob...@da...> - 2004-04-27 20:04:05
|
> > Using a MusE with superuser access it seems MusE always saves song files > > as user root. Should it? > > It feels very backwards and has caused backup problems for me at times. > > MusE should not write any files owned by root. And it does not at least for > me. This is if you use MusE with setuid bit and owner root (the only way > which works at the moment). > MusE runs with effective user id != root (if you start it from a "normal" > user). Only when needed MusE switches back to euid == 0 (root). I did a test and the files ended up with these permissions when muse was executed as user 'ddskrjo' and suid bit set. -rw-r--r-- 1 ddskrjo root 12474 Apr 26 21:57 lala.med I was not able to get it 'owned' by root at this time so I'll back down until I can prove it ;)... as for it belonging to group root...that might be okay? /Robert |