Direct mode: No longer temporarily remove write permission bit of files when adding them.
This write permission frobbing is very appropriate in indirect mode, since annexed objects are stored as immutably as can be managed. But not in direct mode, where files should be able to be modified at any time. There are already sufficient guards that there's no need to prevent a file being written to while it's being ingested, in direct mode. The inode cache will detect (most) types of modifications, and the add will fail. Then a re-add should be done. The assistant should get another inotify change event, and automatically add the new version of the file.
This commit is contained in:
parent
1089734206
commit
6dcf21db93
3 changed files with 19 additions and 11 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -12,6 +12,8 @@ git-annex (4.20130602) UNRELEASED; urgency=low
|
|||
the webapp gets started.
|
||||
* glacier: Better handling of the glacier inventory, which avoids
|
||||
duplicate uploads to the same glacier repository by `git annex copy`.
|
||||
* Direct mode: No longer temporarily remove write permission bit of files
|
||||
when adding them.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 10 Jun 2013 12:52:44 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue