tjko / jpegoptim

jpegoptim - utility to optimize/compress JPEG files
http://www.iki.fi/tjko/projects.html
GNU General Public License v3.0
1.57k stars 116 forks source link

php cron jpegoptim --preserve-perms #37

Closed aivchen closed 7 years ago

aivchen commented 8 years ago

When jpegoptim runs in php (shell_exec command) by cron key --preserve-perms not working. If only by php (without cron) all working properly.

Onyx808 commented 7 years ago

running into the same issue here, when running the command in cron it does not preserve the files permissions, ideas?

Onyx808 commented 7 years ago

Sorry, I was running version 1.3, upgraded to 1.4.3 and permissions are preserved correctly.