[1/2] configroot: Change ownership of "/var/ipfire/red" to nobody.

Message ID 20201129105218.2576-1-stefan.schantl@ipfire.org
State Accepted
Commit 31098f84abea3288c775339f432a492e4abeeb6b
Headers
Series [1/2] configroot: Change ownership of "/var/ipfire/red" to nobody. |

Commit Message

Stefan Schantl Nov. 29, 2020, 10:52 a.m. UTC
  Otherwise the WUI is not allowed to put and release the nobeep file in
this folder and the desired functionality does not work.

Fixes #12385.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 lfs/configroot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer Dec. 1, 2020, 4:16 p.m. UTC | #1
Thank you. Merged.

> On 29 Nov 2020, at 10:52, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Otherwise the WUI is not allowed to put and release the nobeep file in
> this folder and the desired functionality does not work.
> 
> Fixes #12385.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> lfs/configroot | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lfs/configroot b/lfs/configroot
> index 0afacebaf..a37c2c401 100644
> --- a/lfs/configroot
> +++ b/lfs/configroot
> @@ -171,7 +171,7 @@ $(TARGET) :
> 	# Configroot permissions
> 	chown -R nobody:nobody $(CONFIG_ROOT)
> 	chown      root:root   $(CONFIG_ROOT)
> -	for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ red/ ; do \
> +	for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ ; do \
>             chown -R root:root $(CONFIG_ROOT)/$$i; \
> 	done
> 	chown -Rv root:root $(CONFIG_ROOT)/*/bin
> -- 
> 2.20.1
>
  

Patch

diff --git a/lfs/configroot b/lfs/configroot
index 0afacebaf..a37c2c401 100644
--- a/lfs/configroot
+++ b/lfs/configroot
@@ -171,7 +171,7 @@  $(TARGET) :
 	# Configroot permissions
 	chown -R nobody:nobody $(CONFIG_ROOT)
 	chown      root:root   $(CONFIG_ROOT)
-	for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ red/ ; do \
+	for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ ; do \
             chown -R root:root $(CONFIG_ROOT)/$$i; \
 	done
 	chown -Rv root:root $(CONFIG_ROOT)/*/bin