From: c4droid <c4droid@foxmail.com>
To: help-guix@gnu.org
Subject: Setting link file permission in home-files-service-type
Date: Mon, 20 Mar 2023 08:55:40 +0800 [thread overview]
Message-ID: <tencent_95550EB74544AC89C306D79548662BE5F408@qq.com> (raw)
Hi, Guix!
I'm changing my mailing workflow from fetchmail + procmail + msmtp +
mutt to fdm + msmtp + mutt, configuration file is already prepared, the
fdm and msmtp configuration file need 600 permission, guix home
home-files-service-type give 644 default, have workaround for when
symlinking change permission for target file.
My home.scm configuration cut:
``` scheme
(home-environment
(services
(list
(service home-files-service-type
`((".fdm.conf" ,(local-file "dotfiles/fdm.conf"))
(".msmtprc" ,(local-file "dotfiles/msmtprc")))))))
```
next reply other threads:[~2023-03-20 0:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-20 0:55 c4droid [this message]
2023-03-20 1:15 ` Setting link file permission in home-files-service-type Felix Lechner via
2023-03-20 2:20 ` c4droid
2023-03-21 14:15 ` Gary Johnson
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=tencent_95550EB74544AC89C306D79548662BE5F408@qq.com \
--to=c4droid@foxmail.com \
--cc=help-guix@gnu.org \
/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).