Commit 88097639 authored by Philip Withnall's avatar Philip Withnall Committed by Ray Strode

build: Ensure state directories are installed with correct permissions

See the previous commit.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <>
parent 657c681a
Pipeline #20831 passed with stage
in 7 minutes and 26 seconds
......@@ -9,10 +9,10 @@ localstatedir = os.path.normpath(destdir + os.sep + sys.argv[1])
# FIXME: meson will not track the creation of these directories
dst_dirs = [
os.path.join(localstatedir, 'lib', 'AccountsService', 'icons'),
os.path.join(localstatedir, 'lib', 'AccountsService', 'users'),
(os.path.join(localstatedir, 'lib', 'AccountsService', 'icons'), 0o775),
(os.path.join(localstatedir, 'lib', 'AccountsService', 'users'), 0o700),
for dst_dir in dst_dirs:
for (dst_dir, dst_dir_mode) in dst_dirs:
if not os.path.exists(dst_dir):
os.makedirs(dst_dir, mode=dst_dir_mode)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment