diff options
-rw-r--r-- | updater/install.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/updater/install.c b/updater/install.c index 770dbd09e..0a859452a 100644 --- a/updater/install.c +++ b/updater/install.c @@ -726,6 +726,11 @@ static int ApplyParsedPerms( { int bad = 0; + /* ignore symlinks */ + if (S_ISLNK(statptr->st_mode)) { + return 0; + } + if (parsed.has_uid) { if (chown(filename, parsed.uid, -1) < 0) { printf("ApplyParsedPerms: chown of %s to %d failed: %s\n", |