ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Borovskoy <alexey_borovskoy@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Неудаляемый /tmp/.private
Date: Tue, 2 Nov 2004 12:42:02 +1200
Message-ID: <200411021242.03098.alexey_borovskoy@mail.ru> (raw)
In-Reply-To: <20041101214837.GB14892@basalt.office.altlinux.org>


[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]

* Вторник 02 Ноябрь 2004 09:48 "Dmitry V. Levin" 
<ldv@altlinux.org>

> On Mon, Nov 01, 2004 at 10:32:54PM +1200, Alexey Borovskoy 
wrote:
> > Сделал следующее:
> > 1. chattr -a /tmp/.private
> > 2. rm -r /tmp/.private
>
> Тогда сделайте и
> 3. rpm -e pam0_mktemp

Машина дома. На работе такого пакета нет, нет и каталога.

> > На очистке /tmp при старте теперь не ругается.
>
> А так что, ругается?

Да. Говорит что не может удалить. Нарисовал патч 
на /etc/rc.d/scripts/cleanup.

$rpm -qf /etc/rc.d/scripts/cleanup
startup-0.9.1-alt1

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

[-- Attachment #1.2: cleanup.patch --]
[-- Type: text/x-diff, Size: 308 bytes --]

--- cleanup.old	2003-05-12 22:05:18 +1300
+++ cleanup	2004-11-02 12:38:41 +1200
@@ -55,6 +55,7 @@
 		    ! \( -name quota.group -uid 0 \) \
 		    ! \( -name aquota.user -uid 0 \) \
 		    ! \( -name aquota.group -uid 0 \) \
+		    ! \( -name .private \) \
 		    -depth -print0 |xargs -r0 rm -rf --
 	)
 fi

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-11-02  0:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-31  1:37 Alexey Borovskoy
2004-10-31 21:50 ` Dmitry V. Levin
2004-11-01  2:20   ` Alexey Borovskoy
2004-11-01  9:10     ` Dmitry V. Levin
2004-11-01  4:43   ` [JT] " Sergey Golovin
2004-11-01  5:07   ` Dmitry Derjavin
2004-11-01 10:32   ` Alexey Borovskoy
2004-11-01 21:48     ` Dmitry V. Levin
2004-11-02  0:42       ` Alexey Borovskoy [this message]
2004-11-02 13:09         ` Alexey Borovskoy
2004-11-02 22:46           ` Dmitry V. Levin
2004-11-01  8:54 ` Денис Смирнов

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=200411021242.03098.alexey_borovskoy@mail.ru \
    --to=alexey_borovskoy@mail.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git