Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is common for executables to have these permissions:

rwxr-xr-x

maybe this is better:

--x--x--x

what that means is that you can run the program but you cannot read it as a regular file.

To delete or create a file you must have write permission to the directory it is or will be found in.

Yes it's a PITA to take away your own permissions but your server is not the box you take with you when you hang out at Starbucks.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: