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

That's a major security bug waiting to happen. You're effectively granting everyone the right to create files in anyone's home directory.


But you have to be superuser to chown.


That's not the only way to get an arbitrary file owned by someone else.


If there is a way that does not require superuser access at any point in the process, I'm curious. Please tell.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: