#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: 0 Platform: All | Blocking: -------------------------------+--------------------------------- Comment (by grahamh): The change and truncate together would be stopped by the " ! (mask & ~ownership)" clause, which looks for any bits set that aren't related to chmod/chown. But I think your alternative CheckPermissions with the flag supplied is a better way. -- Ticket URL: <http://dev.haiku-os.org/ticket/6750#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.