banderas20
Active Member
Hi there.
I have a php script which creates a temp directory. Then makes other stuff and finally removes the temp directory.
If I run the script with user root directly in the CLI, everything works fine.
However, the cron task throws an error while trying to delete the temp directory. Crontab is owned by root, so the user launching the script should be the same.
¿Am I missing something here?
Thanks!
PS: using Gentoo
I have a php script which creates a temp directory. Then makes other stuff and finally removes the temp directory.
If I run the script with user root directly in the CLI, everything works fine.
However, the cron task throws an error while trying to delete the temp directory. Crontab is owned by root, so the user launching the script should be the same.
¿Am I missing something here?
Thanks!
PS: using Gentoo