[ostree] main: show: Don't strip mode, let's see the whole thing
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] main: show: Don't strip mode, let's see the whole thing
- Date: Thu, 18 Jul 2013 18:26:48 +0000 (UTC)
commit 3e2d2f3e9e13d5ec01940431e354b761995831db
Author: Colin Walters <walters verbum org>
Date: Thu Jul 18 14:23:12 2013 -0400
main: show: Don't strip mode, let's see the whole thing
Just useful for debugging.
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 4ae36ab..95b2af2 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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]