On Die, 09 Mai 2006, David A. Desrosiers wrote:
> On Tue, 2006-05-09 at 05:00 -0500, Donn Washburn wrote:
> > By setting "ralvy" in /etc/udev/rules.d wouldn't this limit it to only
> > one user?. Maybe something like `whoami` might work
>
> But now you're opening a potential hole in the system by executing two
> shells for that one process. I'd rely on environment variables instead,
> perhaps $USER, $USERNAME or $LOGNAME in this case, which should all
> reference the same user. Maybe even point jpilot-sync's homedir to
> $HOME/$USERNAME or some such.
None of this can work, or am I wrong? The udev rules are executed as
root, so how should the root user determine to which user it should be
synced.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
Out of memory.
We wish to hold the whole sky,
But we never will.
--- Windows Error Haiku
More information about the jpilot mailing list