Hi Duncan,

I'm still having this problem.
When rebooting the machine of running Xine as root, the permissions are set
back to 660 on the xine-log files.

Is the a way to fix this or do I have to contact the Xine-lists?

Thanks,
Frank 

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Duncan Webb
Verzonden: 04 June 2007 07:27
Aan: freevo-devel@lists.sourceforge.net
Onderwerp: Re: [Freevo-devel] Starting DVD gives Crash on perm denied
errolog!

> Running the last svn I get:
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 290, in 
> eventhandler
>     app.eventhandler(event)
>   File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 673, in 
> eventhandler
>     action( arg=arg, menuw=self )
>   File "/usr/lib/python2.4/site-packages/freevo/video/videoitem.py", 
> line 560, in play
>     error = self.player.play(mplayer_options, self)
>   File 
> "/usr/lib/python2.4/site-packages/freevo/video/plugins/xine.py",
> line
> 189, in play
>     self.app = XineApp(command, self)
>   File 
> "/usr/lib/python2.4/site-packages/freevo/video/plugins/xine.py",
> line
> 367, in __init__
>     childapp.ChildApp2.__init__(self, command)
>   File "/usr/lib/python2.4/site-packages/freevo/childapp.py", line 
> 322, in __init__
>     ChildApp.__init__(self, app, debugname, doeslogging)
>   File "/usr/lib/python2.4/site-packages/freevo/childapp.py", line 
> 114, in __init__
>     self.stdout_log = doeslogging and open(stdout_logger, 'w') or None
> IOError: [Errno 13] Permission denied: '/var/log/freevo/xine-stdout.log'
> Crash!
>
>
> What happened:
> Installed the lastest version as root
> Starting freevo as root.
> Playing movies
> Logging off as root
> Loggin as user freevo
> Starting freevo
> Playing movies --> Crash!
>
> The log xine-stdout.log is created by root and the user freevo gets an 
> permission denied.
> I don't know if this is something to fix (a chmod 777 on the file 
> fixes it), but informing doesn't hurt.

Well if you normally run freevo as user freevo then the directories
/var/log/freevo and /var/cache/freevo should be owned by freevo.

Do a:
chown -R freevo:freevo /var/log/freevo /var/cache/freevo chmod g+sw
/var/log/freevo /var/cache/freevo

That is assuming that freevo is in the group freevo. id freevo will tell you
if this is the case.

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the
FREE version of DB2 express and take control of your XML. No limits. Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to