rdiff-backup-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-bugs] [bug #15839] fsync fails on a read-only file


From: Peter O'Gorman
Subject: [Rdiff-backup-bugs] [bug #15839] fsync fails on a read-only file
Date: Tue, 28 Aug 2007 18:43:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070718 Fedora/1.5.0.12-4.fc6 Firefox/1.5.0.12

Follow-up Comment #1, bug #15839 (project rdiff-backup):

fsync of a read only file is not allowed on AIX or IRIX systems, calling
fsync on a file opened readonly gets EBADF. From the AIX-5.3 fsync man page:
"EBADF
The FileDescriptor parameter is not a valid file descriptor open for
writing."

Changinh to O_RDWR seems like the appropriate solution.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?15839>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]