Subject: [bug#35789] [PATCH] gnu: lxqt-session: fix lxqt-rc.xml permission issue

From: Ludovic Courtès <[email-masked]>
Date: Tue, 21 May 2019 16:30:10 +0200

Hello,

Reza Alizadeh Majd <[email-masked]> skribis:

> * gnu/packages/lxqt.scm (lxqt-session): change lxqt-rc.xml permission to
> 755 after initial copy to user directory.

[...]

> +             (substitute* "startlxqt.in"
> +               (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"")
> +                 (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n"
> +                                "        # fix openbox permission issue\n"
> +                                "        chmod -R 755 \"$XDG_CONFIG_HOME/openbox\"")))

That will make every file executable.

What about just:

  chmod u+w "$XDG_CONFIG_HOME/openbox"/*

?

One last thing: could you provide the explanation you gave in just one
or two lines of comment right above this ‘substitute*’ expression?

Thank you,
Ludo’.