unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: phodina via <help-guix@gnu.org>
To: "andrew@trop.in" <andrew@trop.in>, help-guix <help-guix@gnu.org>
Subject: home-files-service-type file permissions
Date: Tue, 02 Nov 2021 11:31:18 +0000	[thread overview]
Message-ID: <VCwit6pSjKZ9_VkJyrEyF3p3imdMQ1hZAtyt2N2jRRySjaY70z0jeuzd32t5jqQ4Q_1YmYwK9HnWB5WFUVjaTM0GoE8FToMdNdHUe3BpvAI=@protonmail.com> (raw)

Hi Andrew,

Thanks for the development of Guix home. I've recently switch to it from my dotfiles.

However, there is one thing that I do not know how to set.

When using the service home-files-service-type I encountered a situation where I'm copying a script:

(simple-service 'dotfiles
home-files-service-type
(list
...
`("config/sway/wallpaper-change.sh" ,(local-file "config/sway/wallpaper-change.sh"))))

However, after guix home reconfigure the file has only read flags set not execute. Even though the original file has execute flags.

Is the home-files-service-type the correct service to use? Or do I have to patch it in order to keep the permissions?

Petr

             reply	other threads:[~2021-11-02 12:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 11:31 phodina via [this message]
2021-11-03  7:24 ` home-files-service-type file permissions Andrew Tropin
2021-11-08  6:44   ` phodina
2021-11-08  8:42     ` Andrew Tropin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='VCwit6pSjKZ9_VkJyrEyF3p3imdMQ1hZAtyt2N2jRRySjaY70z0jeuzd32t5jqQ4Q_1YmYwK9HnWB5WFUVjaTM0GoE8FToMdNdHUe3BpvAI=@protonmail.com' \
    --to=help-guix@gnu.org \
    --cc=andrew@trop.in \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).