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

  • From: "jua" <trac@xxxxxxxxxxxx>
  • Date: Sun, 05 Mar 2017 12:46:08 -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):

 Agreed with PulkoMandy, checking the permissions is better and cleaner, no
 need to create a temporary file.

 If there is a problem with the write permission check of /boot/system
 returning a wrong value, then that is a separate bug, please add a bug
 ticket for it.

 We generally try to avoid adding any workarounds for bugs in other places
 (creating a temporary file here would be such a workaround) -- it's better
 to solve the actual root cause of the problem then :-)

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

Other related posts: