[haiku-bugs] Re: [Haiku] #5521: StyledEdit does not check read-only status of a file prior to writing to it.

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 03 Mar 2010 15:44:27 -0000

#5521: StyledEdit does not check read-only status of a file prior to writing to
it.
---------------------------------------+------------------------------------
 Reporter:  ver                        |       Owner:  korli    
     Type:  enhancement                |      Status:  new      
 Priority:  low                        |   Milestone:  R1       
Component:  Applications/StyledEdit    |     Version:  R1/alpha1
 Keywords:  stylededit save read-only  |   Blockedby:           
 Platform:  All                        |    Blocking:           
---------------------------------------+------------------------------------

Comment(by axeld):

 I meant the fstat() as mentioned in #5520. And yes, checking the writable
 bit should be generally acceptable, at least if they indicate you may
 actually not want to write to the file.

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

Other related posts: