Gentoo Archives: gentoo-user

From: Andrey Falko <ma3oxuct@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem to erase some temp directory
Date: Wed, 30 Jul 2008 15:13:38
Message-Id: 350fc7cf0807300813i2ed83569gf5bfbe9010ae90fd@mail.gmail.com
In Reply to: Re: [gentoo-user] Problem to erase some temp directory by Zhu Sha Zang
1 On Wed, Jul 30, 2008 at 12:34 AM, Zhu Sha Zang <zhushazang@×××××××××.br> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Andrey Falko escreveu:
6 > | On Tue, Jul 29, 2008 at 11:49 PM, Zhu Sha Zang <zhushazang@×××××××××.br>
7 > wrote:
8 > | Hi everybody,
9 > |
10 > | I have some disaster in my desktop system because i'm erased my /lib.
11 > | Well, i've solved this problem unpacking stage-3 over my system, and
12 > emerge
13 > | -e world.
14 > | My system working very well now, but a weak problem appear.
15 > |
16 > | In boot, when tmpdir tried to be cleaned, some messages appear that the
17 > some
18 > | directories don't be erased., this:
19 > |
20 > | drwxrwxrwx 2 root 1003 4.0K Jul 13 08:24 ashura
21 > | drwxrwxrwx 2 505 101 4.0K Jul 15 11:41 dasusr1
22 > | drwxrwxrwx 2 507 102 4.0K Jul 15 11:41 db2inst1
23 > | drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
24 > | drwx-----T 2 root root 4.0K Jul 30 00:06 root
25 > |
26 > | I've tried to remove this directories usimg root after boot, and receive
27 > | this message:
28 > |
29 > | sakurazukamori .private # rm -rf *
30 > | rm: cannot remove directory `ashura': Operation not permitted
31 > | rm: cannot remove directory `dasusr1': Operation not permitted
32 > | rm: cannot remove directory `db2inst1': Operation not permitted
33 > | rm: cannot remove directory `rodolfo': Operation not permitted
34 > | rm: cannot remove directory `root': Operation not permitted
35 > |
36 > | Thinking in some service using this directories, i've tried boot a gentoo
37 > | livecd and erase archies but the same problem appear.
38 > | I used too fsck on this ext3 file system, none errors on fylesystem are
39 > | detected.
40 > |
41 > | Some tricks?
42 > | thnks for now
43 > |>
44 > |>
45 > |>
46 > |>
47 > |>
48 > |>
49 > _______________________________________________________ Yahoo! Mail - Sempre
50 > a melhor opção para você! Experimente já e veja as novidades.
51 > http://br.yahoo.com/mailbeta/tudonovo/
52 > |>
53 > |>
54 >
55 > | You might have extended attributes enabled. What happens when you run
56 > | lsattr on that directory? If you don't have lsattr, emerge e2fsprogs.
57 >
58 > Using lsattr -Ra in /tmp:
59 >
60 > sakurazukamori tmp # lsattr -Ra
61 > - ----------I--- ./.
62 > - -------------- ./..
63 > - -------------- ./.X0-lock
64 > - -------------- ./.ICE-unix
65 >
66 > ./.ICE-unix:
67 > lsattr: Operation not supported While reading flags on
68 > ./.ICE-unix/dcop4790-1217369151
69 > - ----------I--- ./.ICE-unix/..
70 > - -------------- ./.ICE-unix/.
71 >
72 > - -----a-------- ./.private
73 >
74 > ./.private:
75 > - -------------- ./.private/ashura
76 >
77 > ./.private/ashura:
78 > - -----a-------- ./.private/ashura/..
79 > - -------------- ./.private/ashura/.
80 >
81 > - -------------- ./.private/db2inst1
82 >
83 > ./.private/db2inst1:
84 > - -----a-------- ./.private/db2inst1/..
85 > - -------------- ./.private/db2inst1/.
86 >
87 > - -------------- ./.private/rodolfo
88 >
89 > ./.private/rodolfo:
90 > - -----a-------- ./.private/rodolfo/..
91 > - -------------- ./.private/rodolfo/.
92 >
93 > - ----------I--- ./.private/..
94 > - -------------- ./.private/dasusr1
95 >
96 > ./.private/dasusr1:
97 > - -----a-------- ./.private/dasusr1/..
98 > - -------------- ./.private/dasusr1/.
99 >
100 > - -----a-------- ./.private/.
101 > - -------------- ./.private/root
102 >
103 > ./.private/root:
104 > - -----a-------- ./.private/root/..
105 > - -------------- ./.private/root/.
106 >
107 >
108 > - -------------- ./gpg-j3M7SQ
109 >
110 > ./gpg-j3M7SQ:
111 > lsattr: Operation not supported While reading flags on
112 > ./gpg-j3M7SQ/S.gpg-agent
113 > - ----------I--- ./gpg-j3M7SQ/..
114 > - -------------- ./gpg-j3M7SQ/.
115 >
116 > - -------------- ./.X11-unix
117 >
118 > ./.X11-unix:
119 > lsattr: Operation not supported While reading flags on ./.X11-unix/X0
120 > - ----------I--- ./.X11-unix/..
121 > - -------------- ./.X11-unix/.
122 >
123 > -----BEGIN PGP SIGNATURE-----
124 > Version: GnuPG v2.0.9 (GNU/Linux)
125 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
126 >
127 > iEYEARECAAYFAkiQGZ8ACgkQbLyL8mxGP9S2KgCgrPxc21Mu0zo1YRbwz7Hedm/i
128 > FtsAoLnsn8jBJDv0Ui8CXlfDwVrP1N2F
129 > =RTbE
130 > -----END PGP SIGNATURE-----
131 >
132 >
133
134 As I suspected, you have some extended attributes set. Do you know how
135 this could have happen? You willl have to unset them. How I don't
136 know. When this happen to me with JFS, I trashed the filesystem and
137 never looked back. This however is happening to ext3!, so I am very
138 surprised.

Replies

Subject Author
Re: [gentoo-user] [SOLVED]Problem to erase some temp directory Zhu Sha Zang <zhushazang@×××××××××.br>