Hacker News new | past | comments | ask | show | jobs | submit login

Interesting, I was just diving into the permission system today. I was wondering if it was possible to delegate administration of a directory, e.g. give permission to some non-root user to delete files created by others in that directory.

Turns out it doesn't seem possible. Even if you use ACLs, whatever default ACL you set can just be removed from sub-directories by their respective owners. This seems like a big blind spot, unless I just missed something; all those groups, access lists, bits, and I can't even do that?




Yeah AFAIK you'd have to make a frontend to `rm` and execute with sudo. I've done this a few times.

Relatedly, and possibly helps you implement half of the scheme. You can make a dropbox[0] style directory by removing the search (x) attribute and having some program continuously scan and rename dropped files to some random string.

[0] dropbox in the traditional meaning of course, not the cloud storage




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

Search: