[KDE/Mac] KDE4 and D-BUS
Julian Mehnle
julian at mehnle.net
Sat Feb 7 20:17:47 CET 2009
O wrote:
> > > > > If you can figure out how to get sudo to run commands as the
> > > > > local user, I can figure out the rest.
> >
> > Oh, come on!
> >
> > $ sudo -s # AKA `sudo port ...`
> > # su -f $SUDO_USER -c whoami
> > julian
> > # sudo -H -u $SUDO_USER whoami
> > julian
> >
> > But if "the local user"'s home dir needs to be manipulated, then
> > probably _every_ local user's home dir needs to be, not just that of
> > the user who ran `port`.
>
> Now try that in your portfile and see what happens.
> (hint: jonas' reply above is actually the "correct" answer)
Thanks for turning this into a MacPorts trick quiz for Julian Mehnle
rather than taking my suggestion as the constructive contribution that it
was meant to be.
-Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20090207/d912035a/attachment-0001.sig
More information about the kde-mac
mailing list