I just noticed that any user can execute files from /scripts folder, because they have attributes set to 0755/-rwxr-xr-x
Why?
I just noticed that any user can execute files from /scripts folder, because they have attributes set to 0755/-rwxr-xr-x
Why?
They are set to 0755 so they can be executed but they are owned by root so root can execute them, nor just anyone.
No, those files have attributes set to 0755, that last number 5 mean that "Everyone can Read/Execute" so everyone can read and execute those files. I even tried to run those files as regular user and of course I can... Luckly most of those scripts open some other files that regular users don't have permission to read so most of those scripts are not working because of that, but I don't know are there maybe some of them that will maybe work, so I am just wondering why they have "Everyone" attribute set to "Read/Execute"