From b7701774cd2ab0591ea39f8f825b38da4eaf5dc3 Mon Sep 17 00:00:00 2001 From: Job79 Date: Sat, 27 Dec 2025 20:14:56 +0100 Subject: [PATCH] fix: permissions of /run directory --- containers/fedora/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/containers/fedora/Containerfile b/containers/fedora/Containerfile index 31a0cb0..fa45213 100644 --- a/containers/fedora/Containerfile +++ b/containers/fedora/Containerfile @@ -10,13 +10,13 @@ RUN dnf update -y && \ # === setup user === RUN useradd -ms /bin/bash user && \ - echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && \ - install -m 0700 -d -o user -g user /run/user/1000 /home/user/.config /home/user/.local /home/user/.cache + echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers USER user WORKDIR /home/user -RUN git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim +RUN mkdir -p /run/user/1000 /home/user/.config /home/user/.local /home/user/.cache && \ + git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim COPY --chown=user:user config/bashrc .bashrc COPY --chown=user:user config/git .config/git/config COPY config/bin /usr/local/bin