Ticket #2777 (closed defect: fixed)
Stale symlinks in vfs
Reported by: | andrew_b | Owned by: | slavazanko |
---|---|---|---|
Priority: | major | Milestone: | 4.8.3 |
Component: | mc-vfs | Version: | 4.8.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master committed-stable |
Description
How to reproduce:
- Create any temporary dir
- cd to this temporary dir
- Create two archives:
mkdir -p a/b touch a/b/d ln -s d a/b/e tar -cf good.tar a rm -rf a mkdir -p a/b/c touch a/b/c/d ln -s d a/b/c/e tar -cf bad.tar a rm -rf a
- Enter to the good.tar and cd to a/b. Symlink e points to d and it is not stale.
- Enter to the bad.tar and cd to a/b/c. Symlink e points to d and it is stale.
The difference between that symlinks is a deep where symlink is. The deep of 2 or less directories is ok, symlinks are not stale. The deep of 3 or more directories is not ok, symlinks are stale.
Bisect told that first bad commit is [e2c326997f703ca111a7d3e079c12c26aeaddcbe].
Change History
comment:1 Changed 13 years ago by slavazanko
- Owner set to slavazanko
- Status changed from new to accepted
- Branch state changed from no branch to on review
- Keywords stable-candidate added
- Blocking 2695 added
comment:3 Changed 13 years ago by angel_il
- Votes for changeset changed from andrew_b to andrew_b angel_il
- Branch state changed from on review to approved
comment:4 Changed 13 years ago by slavazanko
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b angel_il to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master:
git log --pretty=oneline 876e006..33ea909
Note: See
TracTickets for help on using
tickets.
created branch 2777_vfs_stale_symlinks
Review, please.