From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux general discussion list <community@altlinux.ru> Subject: Re: [Comm] Неудаляемый /tmp/.private Date: Mon, 1 Nov 2004 12:10:41 +0300 Message-ID: <20041101091041.GC24688@basalt.office.altlinux.org> (raw) In-Reply-To: <200411011420.34680.alexey_borovskoy@mail.ru> [-- Attachment #1: Type: text/plain, Size: 1251 bytes --] Hi, On Mon, Nov 01, 2004 at 02:20:22PM +1200, Alexey Borovskoy wrote: [...] > > > Появился у меня недавно непонятный каталог /tmp/.private. > > > Локов > > > > rpmquery -f не пробовали? > > > > > на него нет, файлов в нем нет, его невозможно удалить даже > > > рутом. Файловая система XFS. > > > > $ rpmquery -f /tmp/.private --scripts --triggers > > postinstall scriptlet (through /bin/sh): > > /bin/mkdir -p -m711 /tmp/.private > > triggerin script (through /bin/sh) -- e2fsprogs > > if [ -d /tmp/.private -a -O /tmp/.private ]; then > > chattr +a /tmp/.private 2>/dev/null ||: > > fi > > А для чего он создается? Зачем ему защита от удаления? Чтобы вы его случайно не удалили. :) Если серьёзно, то чтобы нельзя было случайно удалить подкаталоги в нём. > > > Но есть одна особенность, если загружаться через > > > init=/bin/bash, то этого каталога нет. Полтергейст какой-то. > > Если через init=/bin/bash, каталога нет. Если через init {1,3,5} > - каталог есть. > > > У вас /tmp куда-то монтируется. > > Нет, не монтируется. /tmp находится на корневой fs. И тем не менее, посмотрите на результат fgrep /tmp /proc/mounts > У меня нет разделов с ext2 или ext3. Зато есть xfs. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-11-01 9:10 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 [this message] 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 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=20041101091041.GC24688@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --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