[ostree-init] Fix mkdir calls
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree-init] Fix mkdir calls
- Date: Fri, 27 Jan 2012 00:19:22 +0000 (UTC)
commit 5e83084b9c2f89ff88d6de3b9c89dad71a128c20
Author: Colin Walters <walters verbum org>
Date: Thu Jan 26 19:18:46 2012 -0500
Fix mkdir calls
src/ostree-init.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostree-init.c b/src/ostree-init.c
index d4c5bed..80ab17c 100644
--- a/src/ostree-init.c
+++ b/src/ostree-init.c
@@ -248,10 +248,10 @@ main(int argc, char *argv[])
}
snprintf (destpath, sizeof(destpath), "/ostree/%s/dev/shm", ostree_root);
- (void) mkdir (destpath);
+ (void) mkdir (destpath, 0755);
snprintf (destpath, sizeof(destpath), "/ostree/%s/dev/pts", ostree_root);
- (void) mkdir (destpath);
+ (void) mkdir (destpath, 0755);
snprintf (destpath, sizeof(destpath), "/ostree/%s/run", ostree_root);
if (mount ("tmpfs", destpath, "tmpfs",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]