From 4af3ed296a386148cb35939fd295eb1655ab2e88 Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 17 Jul 2025 11:40:22 +0200 Subject: [PATCH] update info how to create new packages_misc repo --- admin-guide/custom_repositories.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/admin-guide/custom_repositories.md b/admin-guide/custom_repositories.md index fc9a96e4..e76932f8 100644 --- a/admin-guide/custom_repositories.md +++ b/admin-guide/custom_repositories.md @@ -78,12 +78,16 @@ The access control is done by a Unix group usually named `unx-_adm` ( The `packages_misc` share is only root writeable from lx-sync-01.psi.ch. Therefore the initial setup needs to be done there. Creation of a new repo (on lx-sync-01 in `/packages_misc`): -``` +```bash cd /packages_misc mkdir -chgrp 35588 ## We need to use the numeric group id here as lx-sync is not directly connected to AD +chgrp 35593 ## We need to use the numeric group id here as lx-sync is not directly connected to AD chmod g+w chmod g+s + +# set NFS4 ACL to ensure the group can always write +# ensure that you repace the id of the group !!! +nfs4_setfacl -a A:dfg:35593:RWX /modules/test ``` To sync the repo and make it available there needs to be a sync config added to https://gitea.psi.ch/lx/rpm-repo-utils