Commit e2ad1a2
committed
Never follow symlinks when setting file flags on Linux
When opening a file descriptor to set file flags on linux, ensure
no symbolic links are followed. This fixes the case when an archive
contains a directory entry followed by a symlink entry with the same
path. The fixup code would modify file flags of the symlink target.1 parent fba4f12 commit e2ad1a2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3927 | 3927 | | |
3928 | 3928 | | |
3929 | 3929 | | |
3930 | | - | |
| 3930 | + | |
| 3931 | + | |
3931 | 3932 | | |
3932 | 3933 | | |
3933 | 3934 | | |
| |||
0 commit comments