kde/kaffeine permission problems

View: New views
2 Messages — Rating Filter:   Alert me  

kde/kaffeine permission problems

by Joel-26 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In my brand new install of fedora
10, I tried to install kaffeine (sudo yum install kaffeine). When I start it,
the program crashes.

This is what I get after entering the command kaffeine at the prompt:
Error: Can not create link from
"/home/joel/.kde/tmp-lafontaine.localdomain" to
"/tmp/kde-joel"
Error: Can not create link from
"/home/joel/.kde/tmp-lafontaine.localdomain" to "/tmp/kde-joeljNGu1V"
trying to create local folder /home/joel/.kde/tmp-lafontaine.localdomain:
Permission denied
Error: Can not create link from
"/home/joel/.kde/socket-lafontaine.localdomain" to
"/tmp/ksocket-joel"
Error: Can not create link from "/home/joel/.kde/socket-lafontaine.localdomain"
to "/tmp/ksocket-joel8gCute"
trying to create local folder /home/joel/.kde/socket-lafontaine.localdomain:
Permission denied
trying to create local folder /home/joel/.kde/socket-lafontaine.localdomain:
Permission denied
kdeinit: Aborting. bind() failed: : No such file or directory
Could not bind to socket
'/home/joel/.kde/socket-lafontaine.localdomain/kdeinit__0'

I changed the permissions of my home directory to a+wx, and changed the
permissions of the directory ~/.kde to a+w; kaffeine opens but can't open
/dev/dvd, can't open dvb device. It also returns

trying to create local folder /home/joel/.kde/share/servicetypes: Permission
denied
trying to create local folder /home/joel/.kde/share/mimelnk: Permission denied
etc..

how should i configure kde/kaffeine/permissions to get this thing to work? Or do I have to run it as root?


     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
kaffeine-user mailing list
kaffeine-user@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-user

Re: kde/kaffeine permission problems

by Beso-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/12/4 Joel <tempestcat9@...>:

> In my brand new install of fedora
> 10, I tried to install kaffeine (sudo yum install kaffeine). When I start it,
> the program crashes.
>
> This is what I get after entering the command kaffeine at the prompt:
> Error: Can not create link from
> "/home/joel/.kde/tmp-lafontaine.localdomain" to
> "/tmp/kde-joel"
> Error: Can not create link from
> "/home/joel/.kde/tmp-lafontaine.localdomain" to "/tmp/kde-joeljNGu1V"
> trying to create local folder /home/joel/.kde/tmp-lafontaine.localdomain:
> Permission denied
> Error: Can not create link from
> "/home/joel/.kde/socket-lafontaine.localdomain" to
> "/tmp/ksocket-joel"
> Error: Can not create link from "/home/joel/.kde/socket-lafontaine.localdomain"
> to "/tmp/ksocket-joel8gCute"
> trying to create local folder /home/joel/.kde/socket-lafontaine.localdomain:
> Permission denied
> trying to create local folder /home/joel/.kde/socket-lafontaine.localdomain:
> Permission denied
> kdeinit: Aborting. bind() failed: : No such file or directory
> Could not bind to socket
> '/home/joel/.kde/socket-lafontaine.localdomain/kdeinit__0'
>
> I changed the permissions of my home directory to a+wx, and changed the
> permissions of the directory ~/.kde to a+w; kaffeine opens but can't open
> /dev/dvd, can't open dvb device. It also returns
>
> trying to create local folder /home/joel/.kde/share/servicetypes: Permission
> denied
> trying to create local folder /home/joel/.kde/share/mimelnk: Permission denied
> etc..
>
> how should i configure kde/kaffeine/permissions to get this thing to work? Or do I have to run it as root?
>

this issue will not only present with just kaffeine. all the apps that
need to create something inside .kde/shares will not be able to do it.
you should set the permissions on the .kde/share/ folder and
subfolders to 700 (owner will have full access) and then set the owner
to joel. the /tmp/.private (which should be the pointer to the link of
.kde/socket (or whichever the link points) should be rwx--x--x
(tmpfs). kaffeine (as other programs) need execute permissions on
tmpfs. check that in fstab you have the right tmpfs permissions
they should be mode=1777 (you should have something like tmpfs /tmp
tmpfs mode=1777,nodev,nosuid,size=1gb 0 0
which means that a tmpfs of 1 gb of space will be mounted on /tmp.
just be sure that your ram space+swap space is larger than the
settings of your all tmpfs inside fstab.

--
dott. ing. beso

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
kaffeine-user mailing list
kaffeine-user@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-user