From bffff1a00de80b6cc0aaddde2434ba3886daacde Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Nov 2011 16:36:11 +0100 Subject: [PATCH] libxbps: xbps_set_pkg_state_installed: create metadir with 0755 perms. --- lib/package_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/package_state.c b/lib/package_state.c index 26593347..736179e4 100644 --- a/lib/package_state.c +++ b/lib/package_state.c @@ -269,7 +269,7 @@ xbps_set_pkg_state_installed(const char *pkgname, /* Create metadir if doesn't exist */ if (access(metadir, X_OK) == -1) { if (errno == ENOENT) { - if (xbps_mkpath(metadir, 0750) != 0) { + if (xbps_mkpath(metadir, 0755) != 0) { xbps_dbg_printf("[pkgstate] failed to create " "metadir %s: %s\n", metadir, strerror(errno));