diff --git a/lrzip.c b/lrzip.c index b1d5a4b..675b937 100644 --- a/lrzip.c +++ b/lrzip.c @@ -204,11 +204,11 @@ void preserve_perms(rzip_control *control, int fd_in, int fd_out) if (unlikely(fstat(fd_in, &st))) fatal("Failed to fstat input file\n"); if (unlikely(fchmod(fd_out, (st.st_mode & 0666)))) - print_err("Warning, unable to set permissions on %s\n", control->outfile); + print_verbose("Warning, unable to set permissions on %s\n", control->outfile); /* chown fail is not fatal */ if (unlikely(fchown(fd_out, st.st_uid, st.st_gid))) - print_err("Warning, unable to set owner on %s\n", control->outfile); + print_verbose("Warning, unable to set owner on %s\n", control->outfile); } /* Open a temporary outputfile to emulate stdout */