From: Alexey Tourbin <at@turbinal.org>
To: sisyphus@altlinux.ru
Subject: [sisyphus] fetchmail .fetchmailrc symlink
Date: Mon, 23 Sep 2002 20:31:34 +0400
Message-ID: <20020923163134.GA16586@ungrund> (raw)
fetchmail не разрешает, чтобы ~/.fetchmailrc был симлинком, видимо, из
соображений безопасности. Но есть и другие соображения безопасности:
хочется разместить .fetchmailrc на шифрованном разделе (в подкаталоге),
а на старом месте оставить symlink, чтобы его когда нужно мог подцепить
fetchmail-daemon.
Вопрос: почему нельзя разрешить ~/.fetchmailrc быть симлинком, если
конечный файл всё равно останется 0600 user-owned?
Если всё же есть веская причина этого не разрешать, можно ли в таком
случае разрешить его хранить в подкаталогах домашнего каталога?
--- fetchmail-5.9.12.orig/rcfile_y.y Mon Apr 1 11:47:00 2002
+++ fetchmail-5.9.12/rcfile_y.y Mon Sep 23 20:17:20 2002
@@ -414,7 +414,7 @@
process, it must have permissions no greater than 600, and it must not
be a symbolic link. We check these conditions here. */
- if (lstat(pathname, &statbuf) < 0) {
+ if (stat(pathname, &statbuf) < 0) {
if (errno == ENOENT)
return(PS_SUCCESS);
else {
next reply other threads:[~2002-09-23 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-23 16:31 Alexey Tourbin [this message]
2002-10-02 9:44 ` [sisyphus] " Mikhail Zabaluev
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020923163134.GA16586@ungrund \
--to=at@turbinal.org \
--cc=sisyphus@altlinux.ru \
/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
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git