Skip to content

Commit

Permalink
Fix wrong log for fuse chown method
Browse files Browse the repository at this point in the history
pr-link: #12826
change-id: cid-57ffd9703726a2f50e36725b6bf5b8e78d4b3d98
  • Loading branch information
maobaolong committed Feb 9, 2021
1 parent 1835fa4 commit 6c581b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -256,7 +256,7 @@ private int chownInternal(String path, @uid_t long uid, @gid_t long gid) {
LOG.info("Change group of file {} to {}", path, groupName);
mFileSystem.setAttribute(uri, optionsBuilder.build());
} else {
LOG.info("Change owner of file {} to {}", path, groupName);
LOG.info("Change owner of file {} to {}", path, userName);
mFileSystem.setAttribute(uri, optionsBuilder.build());
}
} catch (Throwable t) {
Expand Down
Expand Up @@ -572,7 +572,7 @@ private int chownInternal(String path, long uid, long gid) {
LOG.info("Change group of file {} to {}", path, groupName);
mFileSystem.setAttribute(uri, optionsBuilder.build());
} else {
LOG.info("Change owner of file {} to {}", path, groupName);
LOG.info("Change owner of file {} to {}", path, userName);
mFileSystem.setAttribute(uri, optionsBuilder.build());
}
} catch (Throwable t) {
Expand Down

0 comments on commit 6c581b8

Please sign in to comment.