I'm running monit to monitor a linux service i wrote which basically makes sure that a mounted partition exist.
the service start action is: mount -a
the service stop action is: umount /...../....
When i'm running the service manually everything works fine but when monit is starting the service i dont have permissions to upload files through my web application.
Is there any special permissions monit is running the service (mount) with?
EDIT:
My setup is to start the service is a simple init script with start and stop (which is mount -a and umount respectively)
Thanks, Danny