X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Funix_apply.c;h=fd5d972d404de454bef7dbb28d5a6b26d06977a0;hb=3d84c998673ba7acf82ec5c26769a41e28a2cc7b;hp=e27accff294769c9e95b2114ce0b963d81e3a9f7;hpb=ac2f455531e39641bedca08ab510a8c1d09ba125;p=wimlib diff --git a/src/unix_apply.c b/src/unix_apply.c index e27accff..fd5d972d 100644 --- a/src/unix_apply.c +++ b/src/unix_apply.c @@ -124,7 +124,7 @@ unix_set_unix_data(const tchar *path, const struct wimlib_unix_data *data, struct stat stbuf; if (lstat(path, &stbuf)) - return WIMLIB_ERR_STAT; + return WIMLIB_ERR_SET_SECURITY; if (!S_ISLNK(stbuf.st_mode)) if (chmod(path, data->mode)) return WIMLIB_ERR_SET_SECURITY;