[haiku-bugs] Re: [Haiku] #6750: chmod is broken for non-superuser

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Tue, 09 Nov 2010 20:38:01 -0000

#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 axeld):

 Applied in r39378, and r39379, thanks a lot Rohit Yadav!

 To Ingo: the check_access() a.k.a. CheckPermissions() function could
 easily be a VFS delivered utility function. BTW there is at least one
 functional difference between the previous version in BFS: before, root
 could always enter a directory, no matter if any X was set. In your
 version, that is no longer possible; I would assume the former version is
 the correct one, though.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6750#comment:17>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: