diff options
author | Colin Walters <walters@verbum.org> | 2013-07-18 14:23:12 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-18 14:23:12 -0400 |
commit | 3e2d2f3e9e13d5ec01940431e354b761995831db (patch) | |
tree | f0c2c3d487d38b4c790c5c16e0868df76c6ea692 /src/ostree/ot-builtin-show.c | |
parent | f0c5a5f3340fcdee8650fd952c1bfd182fce7854 (diff) | |
download | ostree-3e2d2f3e9e13d5ec01940431e354b761995831db.tar.gz |
main: show: Don't strip mode, let's see the whole thing
Just useful for debugging.
Diffstat (limited to 'src/ostree/ot-builtin-show.c')
-rw-r--r-- | src/ostree/ot-builtin-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-show.c b/src/ostree/ot-builtin-show.c index 4ae36aba..95b2af27 100644 --- a/src/ostree/ot-builtin-show.c +++ b/src/ostree/ot-builtin-show.c @@ -133,7 +133,7 @@ show_repo_meta (OstreeRepo *repo, g_printerr ("(unknown type %u)\n", (guint)filetype); } - g_print ("Mode: 0%04o\n", g_file_info_get_attribute_uint32 (finfo, "unix::mode") & ~S_IFMT); + g_print ("Mode: 0%04o\n", g_file_info_get_attribute_uint32 (finfo, "unix::mode")); g_print ("Uid: %u\n", g_file_info_get_attribute_uint32 (finfo, "unix::uid")); g_print ("Gid: %u\n", g_file_info_get_attribute_uint32 (finfo, "unix::gid")); |