I'm working on a python script, I created a file in /var/log/ folder with 664 permissions
python script is not able to write logs to the file created, IDK why... since file owner is ubuntu(aws's default user).
very carefully I have given Read and Write permission to the file
scheduled crontab failed to run the app because of permission denied issue. Any ideas?
i) the command you used to set up the crontab -
ii) the crontab line that is running the python script -
*/30 * * * * python3 /home/ubuntu/message_initiator.py
iii) the exact error message -
Permission denied: '/var/log/ice-message-initiator.log'