Skip to main content

Some script execute permissions gone

Comments

2 comments

  • ChrisI
    Hello! The best way to try to track down how those were changed will likely be to use the stat command to find the times that they were changed before before changing the permissions back, then check the various logs and the bash history for anything that was done around that time. Also, note that /scripts/cp-backup and /scripts/make-config do not exist on my test server and update_sa_config does not have execute permissions. These are the correct permissions for update_sa_config and upcp. [root@test3 scripts]# ll update_sa_config -rw-r--r-- 1 root root 2083 Feb 17 00:34 update_sa_config [root@test3 scripts]# ll upcp -rwxr-xr-x 1 root root 28588 Apr 11 11:35 upcp Thanks!
    0
  • pwaara
    Sorry, I meant cpbackup. Interestingly, the permissions have fixed themselves. I did nothing to change them in either direction. According to stat, the file was modified yesterday, but there is nothing in the history. While this has me curious as to how and why it happened, I don't have the time to track it down. It certainly was odd, though.
    0

Please sign in to leave a comment.