Linux 想要將影片(Mp4、Mov...)做 90度、180度的旋轉,要怎麼做呢?
閱讀全文〈Linux 使用 ffmpeg 將影片 90度、180度旋轉〉
個人筆記, 記錄關於 系統、程式、新聞 與 日常生活 等資訊
Linux 很常使用 tail -f /var/log/syslog 等等,要持續看 Log 進來的情況。
不過如果持續追蹤,很常遇到 file rotate 的狀況,遇到的時候,tail -f 就不會繼續更新了... 要怎麼解決這個問題呢?
Log (/var/log/apache2) 的資料夾權限變更,造成 Logrotate 的時候無法 rotation,錯誤訊息如下:
error: skipping "/var/log/apache2/access.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
要如何修正此問題呢?
註:Logrotate 的權限一定是夠,所以不是權限不夠的問題。