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

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 04 Mar 2017 14:34:43 -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:  0                            |   Platform:  All
-------------------------------------------+----------------------------

Comment (by pulkomandy):

 Are you sure all of this is required just to check that the directory is
 writable? Have you tried using entry.GetPermissions() instead? If there is
 write permission then we can proceed. There is no need to check if
 creating a file really works.

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

Other related posts: