From 03fd085da9faa1a96fe18f9b67da536ef1282582 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Tue, 20 Aug 2024 12:52:50 +0000 Subject: [PATCH] Add nodfs to cifs mount --- openrc/seedbox-mount/APKBUILD | 3 +-- openrc/seedbox-mount/runfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openrc/seedbox-mount/APKBUILD b/openrc/seedbox-mount/APKBUILD index c2fc400..0cf2a82 100644 --- a/openrc/seedbox-mount/APKBUILD +++ b/openrc/seedbox-mount/APKBUILD @@ -3,11 +3,10 @@ . ../APKBUILD-openrc.template -pkgver=2022.04.19.10 pkgrel=0 depends="redxen-secret-seedbox-mount cifs-utils" sha512sums=" -d9661deeef39cb84c347f80ad78e8f455d201d1375d6c3ac7064321edb7d619d685dce71993b8644fe91c0a8f2f29c52c2a79b8a91360d08a230f27369a54ecb runfile +7121650745833720af58e583af30d04f7f2756cb2cd17f682c8220859b309c8a79cb2315b4d7db7cadc24c23836df7f71f7d0b9142256b0708112f1de87bb601 runfile b0de4ab3bb8b039b6609a92f2fe8bb42f4bdad0d777e4281f34becd6269e5a8cb99a5c15cb5fc0b5e86ff04ddfeff2032311452aa986debc2def0e146cf7d050 conffile " diff --git a/openrc/seedbox-mount/runfile b/openrc/seedbox-mount/runfile index 14eb6ea..10b75ed 100644 --- a/openrc/seedbox-mount/runfile +++ b/openrc/seedbox-mount/runfile @@ -12,7 +12,7 @@ start_pre() { } start() { - mount -t cifs -o credentials="$creds",rw,cache=none,seal,uid="$(id -u transmission)",gid="$(id -g transmission)",dir_mode=0755,file_mode=0644 "$endpoint" "$mountpath" || stop + mount -t cifs -o credentials="$creds",rw,cache=none,nodfs,seal,uid="$(id -u transmission)",gid="$(id -g transmission)",dir_mode=0755,file_mode=0644 "$endpoint" "$mountpath" || stop mount --bind "${mountpath}" /sftp-chroot"${mountpath}" || stop }