[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: Re: mcop
From: Stefan Westerfeld <stefan () space ! twc ! de>
Date: 2001-12-17 14:33:11
[Download RAW message or body]
Hi!
On Sat, Dec 15, 2001 at 04:51:29PM -0700, John Scott wrote:
> I've incurred an error message with artsd on my Mandrake Linux 8.1
> system that baffles me. I'm hoping you can help. The message is
> "mcop-john is not owned by user". I'm "john" and I'm both the user and
>
> owner of that directory???? Any ideas?
Are you sure your uid and the owner of the directory are the same?
stefan@stefan:~/src/kdelibs/arts/mcop$ id
uid=1000(stefan) gid=1000(stefan) groups=1000(stefan),24(cdrom),25(floppy),29(audio)
stefan@stefan:~/src/kdelibs/arts/mcop$ ls -nld /tmp/mcop-stefan/
drwx------ 3 1000 1000 4096 Dec 17 15:01 /tmp/mcop-stefan/
I don't understand how this check can fail. The code looks like:
// mcoputils.cc: MCOPUtils::createFilePath(string name)
/** check that /tmp/mcop-<username>/ is a secure temporary dir **/
struct stat st;
if(lstat(tmpdir.c_str(),&st) != 0)
arts_fatal("can't stat %s (%s)", tmpdir.c_str(),strerror(errno));
if (st.st_uid != getuid ())
arts_fatal("%s is not owned by user", tmpdir.c_str());
[...]
Which looks right to me...?
Cu... Stefan
--
-* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
KDE Developer, project infos at http://space.twc.de/~stefan/kde *-
_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic