Re:The early Unix history of chown() being restricted to root
by IshKebab on Sunday October 19, 2025 @06:11PM
(#45638503)
Why would you use ownership data for disk quotas? That's crazy. It should be based on file location. Anything in the user's home directory comes out of their quota. I assume that's how it does work surely?
[ Parent
| on HN ]
Re:The early Unix history of chown() being restricted to root
by Izkata on Sunday October 19, 2025 @08:16PM
(#45639143)
Not if the file is in the shared /tmp/
Re:The early Unix history of chown() being restricted to root
by kazinator on Monday October 20, 2025 @03:31PM
(#45648161)
What if Alice leave her home directory permissions open? Mallory can then move a large file there and have it assigned to Alice's quota.
I suppose it could work, but Mallory would then risk Alice blowing that file away (perhaps innocently, not even realizing it was Mallory's file).