ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei_vm@micmedia.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] А кто определяет TMPDIR?
Date: Thu, 16 Jun 2005 00:39:24 +0400
Message-ID: <42B091FC.1020504@micmedia.ru> (raw)
In-Reply-To: <20050614225155.GA8023@lrn.ru>

Grigory Batalov пишет:
> 
>   Чтобы не переопределялись, ещё должно быть SECURE_TMP=no.
>   В файле /etc/profile.d/tmpdir.sh всё доступно описано.

Опаньки! А вот ничего там и не написано!!!
Смотрим в Сизиф и видим setup-2.2.6-alt1.noarch.rpm, в котором есть 
tmpdir.sh. Но в этом скрипте только половина того, что там было раньше:

# $Id: tmpdir.sh,v 1.3 2004/11/15 16:41:10 ldv Exp $
# If TMPDIR is not defined, set it to ~/tmp and create the directory if 
required.

if [ -z "$TMPDIR" ] || [ ! -d "$TMPDIR" -o ! -w "$TMPDIR" ]; then
	if [ -d "$HOME/tmp" -a -w "$HOME/tmp" ]; then
		export TMPDIR="$HOME/tmp"
	elif install -d -m700 -- "$HOME/tmp" >/dev/null 2>&1; then
		if [ -d "$HOME/tmp" -a -w "$HOME/tmp" ]; then
			export TMPDIR="$HOME/tmp"
		fi
	fi
fi

То есть /etc/sysconfig/system просто игнорируется.

Бага? Грузик вешать? Или это что-то новое в Сизифном /etc?



  parent reply	other threads:[~2005-06-15 20:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14 17:31 Alexei V. Mezin
2005-06-14 22:51 ` Grigory Batalov
2005-06-15 18:23   ` Alexei V. Mezin
2005-06-15 20:39   ` Alexei V. Mezin [this message]
2005-06-15 21:48     ` Dmitry V. Levin
2005-06-15 22:33       ` Alexei V. Mezin
2005-06-15 22:35         ` Dmitry V. Levin
2005-06-15 10:51 ` Вячеслав Диконов
2005-06-15 13:54   ` Alexey Rusakov
2005-06-15 17:47     ` Eugene Vlasov
2005-06-15 18:53       ` Alexei V. Mezin
2005-06-16  6:10         ` Andrey Rahmatullin

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=42B091FC.1020504@micmedia.ru \
    --to=alexei_vm@micmedia.ru \
    --cc=alex783@hotbox.ru \
    --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