From f0d08ef2633b46b697bc68b916999e050dc12a6e Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 23 Dec 2023 22:58:45 +0100 Subject: [PATCH] fix: Remove flag (#487) * fix: Remove flag --- docker-compose.yml | 1 - readme.md | 1 - src/disk.sh | 3 +-- src/install.sh | 3 +-- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ce43843..d25dc60 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,6 @@ services: - 'c *:* rwm' cap_add: - NET_ADMIN - - LINUX_IMMUTABLE ports: - 5000:5000 volumes: diff --git a/readme.md b/readme.md index 029093e..c7365aa 100644 --- a/readme.md +++ b/readme.md @@ -36,7 +36,6 @@ services: - /dev/kvm cap_add: - NET_ADMIN - - LINUX_IMMUTABLE ports: - 5000:5000 volumes: diff --git a/src/disk.sh b/src/disk.sh index 7e310bf..0ff7eae 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -295,8 +295,7 @@ checkFS () { if [[ "$FA" != *"C"* ]]; then info "Warning: the filesystem of $DIR is ${FS^^}, and COW (copy on write) is not disabled for that folder!" - info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag" - info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C " + info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C )." fi fi diff --git a/src/install.sh b/src/install.sh index 11b1108..5f8942c 100644 --- a/src/install.sh +++ b/src/install.sh @@ -63,8 +63,7 @@ if [[ "$FS" == "xfs" || "$FS" == "zfs" || "$FS" == "btrfs" || "$FS" == "bcachefs fi if [[ "$FA" != *"C"* ]]; then info "Warning: the filesystem of $STORAGE is ${FS^^}, and COW (copy on write) is not disabled for that folder!" - info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag" - info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C " + info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C )." fi fi