[haiku-bugs] Re: [Haiku] #12334: MediaConvert does not check for read only target directory (easy)

  • From: "jua" <trac@xxxxxxxxxxxx>
  • Date: Sun, 05 Mar 2017 13:21:45 -0000

#12334: MediaConvert does not check for read only target directory (easy)
-------------------------------------------+----------------------------
   Reporter:  pulkomandy                   |      Owner:  Barrett
       Type:  bug                          |     Status:  assigned
   Priority:  normal                       |  Milestone:  R1
  Component:  Applications/MediaConverter  |    Version:  R1/Development
 Resolution:                               |   Keywords:
 Blocked By:                               |   Blocking:
Has a Patch:  1                            |   Platform:  All
-------------------------------------------+----------------------------

Comment (by jua):

 After further discussion with vivek-roy:
 * The permission check works as expected, no bug there.
 * However, as vivek-roy pointed out, the code would also have to check the
 current user and all its groups to determine if there really is write
 permission. That would add unnecessary complexity, so creating the
 temporary file looks like the simplest solution after all.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12334#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: