projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
wireguard: bump to 0.0.20180620
[oweals/openwrt.git]
/
tools
/
tar
/
patches
/
110-symlink-force-permissions.patch
1
--- a/src/create.c
2
+++ b/src/create.c
3
@@ -1853,6 +1853,7 @@ dump_file0 (struct tar_stat_info *st, ch
4
#ifdef HAVE_READLINK
5
else if (S_ISLNK (st->stat.st_mode))
6
{
7
+ st->stat.st_mode |= 0777; /* make permissions portable */
8
st->link_name = areadlinkat_with_size (parentfd, name, st->stat.st_size);
9
if (!st->link_name)
10
{