Hi!

Hello Steffen,

I'm using

~    eval `openpkg rc --eval all env`

to setup the paths for a openpkg instance in the system login script. This works fine except that the directory which is created under /tmp could not be deleteted since the owner of the dir is the management user and therefore the calling user is not able to delete the directory. Any idea how to fix this behaviour?

I would suggest that you create the corresponding sudo entry in /etc/sudoers and use /usr/bin/sudo <the_command_acting_in_tmp> .

But ... Why is your application not cleaning the temporary files in /tmp .. that would be the good question to ask, IMHO.


Olivier
______________________________________________________________________
OpenPKG                                             http://openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to