#6750: chmod is broken for non-superuser -------------------------------+--------------------------------- Reporter: grahamh | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: File Systems/BFS | Version: R1/Development Resolution: | Keywords: chmod, write_stat Blocked By: | Has a Patch: 1 Platform: All | Blocking: -------------------------------+--------------------------------- Comment (by rohityadav): Replying to [comment:8 axeld]: > Thanks for the patches! However, you just moved grahamh's change into CheckPermissions() - this does still have the same issues of not allowing certain actions to happen at a time. What I suggested instead was pretty much how Ingo solved it in his corruptionfs. Hi again Axel, okay... so I spend a couple of hours to move a lot of code to something like Ingo did, but finally I thought moving and refactoring grahamh's code was the simplest thing, so I did. Besides, it make CheckPermissions powerful (i think, not sure :). Anyway I'll correct 'em as you suggested... So, my question is do you want me to follow Ingo's solution as in corruptionfs? I'll send the corrections right away. -- Ticket URL: <http://dev.haiku-os.org/ticket/6750#comment:9> Haiku <http://dev.haiku-os.org> Haiku - the operating system.