Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: [Bug or Feature?] - wrong owner of recording dirs.



On Fri, Apr 16, 2004 at 01:56:35PM +0200, DOm wrote:
> Hallo,
> 
> i don't know if it is a bug or a desired behaviour, but on my system vdr
> creates recording dirs with owner "root" even if it was launched by
> another user. I noted this on a software only setup
> (softdevice+streamdev) on witch i lauch vdr without superuser
> permissions and have a local VIDEODIR in the normal-user home directory.

This is impossibel.

the vdr-binary must have change-uid set

ls -l vdr
-rwx......
   ^ If here is an "s" then the programs runs with the privileges of the owner of the binary. Seems to be root.

Cure:
chmod 755 vdr



Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index