mpd: fix chown syntax

Message ID 20240929074523.2441-1-arne_f@ipfire.org
State Staged
Commit a5c7005c3d3e739cdcbcf0c9bcde821019d93f05
Headers
Series mpd: fix chown syntax |

Commit Message

Arne Fitzenreiter Sept. 29, 2024, 7:44 a.m. UTC
  this remove a warning at boot that user and group should
seperated by ":" and not by "."

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
---
 lfs/mpd                      | 2 +-
 src/initscripts/packages/mpd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Adolf Belka Oct. 15, 2024, 7:56 a.m. UTC | #1
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 29/09/2024 09:44, Arne Fitzenreiter wrote:
> this remove a warning at boot that user and group should
> seperated by ":" and not by "."
>
> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
> ---
>   lfs/mpd                      | 2 +-
>   src/initscripts/packages/mpd | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lfs/mpd b/lfs/mpd
> index 6fd78f2af..4ef453fb1 100644
> --- a/lfs/mpd
> +++ b/lfs/mpd
> @@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
>   DIR_APP    = $(DIR_SRC)/${THISAPP}
>   TARGET     = $(DIR_INFO)/$(THISAPP)
>   PROG       = mpd
> -PAK_VER    = 40
> +PAK_VER    = 41
>   # SUP_ARCH   = aarch64 x86_64
>   
>   DEPS       = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr fmt
> diff --git a/src/initscripts/packages/mpd b/src/initscripts/packages/mpd
> index d42c0c549..4d031c472 100644
> --- a/src/initscripts/packages/mpd
> +++ b/src/initscripts/packages/mpd
> @@ -25,7 +25,7 @@
>   case "$1" in
>   	start)
>   		boot_mesg "Starting MPD..."
> -		chown -R root.nobody /var/ipfire/mpd/db
> +		chown -R root:nobody /var/ipfire/mpd/db
>   		/bin/nice --5 /usr/bin/mpd
>       evaluate_retval
>   		;;
  

Patch

diff --git a/lfs/mpd b/lfs/mpd
index 6fd78f2af..4ef453fb1 100644
--- a/lfs/mpd
+++ b/lfs/mpd
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/${THISAPP}
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpd
-PAK_VER    = 40
+PAK_VER    = 41
 # SUP_ARCH   = aarch64 x86_64
 
 DEPS       = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr fmt
diff --git a/src/initscripts/packages/mpd b/src/initscripts/packages/mpd
index d42c0c549..4d031c472 100644
--- a/src/initscripts/packages/mpd
+++ b/src/initscripts/packages/mpd
@@ -25,7 +25,7 @@ 
 case "$1" in
 	start)
 		boot_mesg "Starting MPD..."
-		chown -R root.nobody /var/ipfire/mpd/db
+		chown -R root:nobody /var/ipfire/mpd/db
 		/bin/nice --5 /usr/bin/mpd
     evaluate_retval
 		;;