DescriptionWhen extracting charms, use only filetype mode bits to detect symlinkicity
We had been writing, and checking for, a magic value (in external_attr)
which happened to equal `(stat.S_IFLNK | 0755) << 16`; the charm store was
giving us one equal to `(stat.S_IFLNK | 0777) << 16`, and we weren't
considering that to be a symlink. We now just check the filetype and ignore
permissions on symlinks.
https://code.launchpad.net/~fwereade/juju/fix-charm-symlinks/+merge/100769
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : When extracting charms, use only filetype mode bits to detect symlinkicity #
MessagesTotal messages: 3
|