Your message dated Mon, 22 May 2006 20:12:49 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#368479: lsattr does not work on ext3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: e2fsprogs
Version: 1.37-2sarge1
Severity: normal

Error description:

Since there is not e3fsprogs, 'lsattr' should support ext3 too.
OK, I have never the need for 'lsattr' but now i need it and it
does not work  :-/

[EMAIL PROTECTED]:~ > lsattr .tdmailtools
----------------- GTKRC
----------------- LIST_419_sub
----------------- LIST_blacklist
----------------- LIST_blub
----------------- LIST_crforward
----------------- LIST_spam_body1
----------------- LIST_spam_body2
----------------- LIST_spam_body_bl
----------------- LIST_spam_sub
----------------- LIST_virus_aav
----------------- SERIALNUMBER
----------------- tdmailcopy
----------------- tdmailcrforward

It seems I have a filesystem without any attributes for the files...
And I have tried it over NFS... :-/

lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
GTKRC
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_419_sub
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_blacklist
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_blub
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_crforward
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_spam_body1
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_spam_body2
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_spam_body_bl
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_spam_sub
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
LIST_virus_aav
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
lsattr.out
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
SERIALNUMBER
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
tdmailcopy
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von 
tdmailcrforward

OK, but thats another problem...

Question:

Is there another command/program which can I use the get file/directory
attributes from ext3 and over NFS?

I think, parsing the output of 'ls -Al' is crap.

Greetings
    Michelle


-- System Information
Debian Release: 3.1
Kernel Version: Linux devel.private 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 
2005 i686 GNU/Linux


Versions of the packages e2fsprogs depends on:
ii  e2fslibs       1.37-2sarge1   ext2 filesystem libraries
ii  libblkid1      1.37-2sarge1   block device id library
ii  libc6          2.3.2.ds1-22   GNU C Library: Shared libraries and Timezone
ii  libcomerr2     1.37-2sarge1   common error description library
ii  libss2         1.37-2sarge1   command-line interface parsing library
ii  libuuid1       1.37-2sarge1   universally unique id library



--- End Message ---
--- Begin Message ---
On Mon, May 22, 2006 at 05:26:46PM +0200, Michelle Konzack wrote:
> Package: e2fsprogs
> Version: 1.37-2sarge1
> Severity: normal
> 
> Error description:
> 
> Since there is not e3fsprogs, 'lsattr' should support ext3 too.
> OK, I have never the need for 'lsattr' but now i need it and it
> does not work  :-/
> 
> [EMAIL PROTECTED]:~ > lsattr .tdmailtools
> ----------------- GTKRC
> ----------------- LIST_419_sub
> ----------------- LIST_blacklist
> ----------------- LIST_blub
> ----------------- LIST_crforward
> ----------------- LIST_spam_body1
> ----------------- LIST_spam_body2
> ----------------- LIST_spam_body_bl
> ----------------- LIST_spam_sub
> ----------------- LIST_virus_aav
> ----------------- SERIALNUMBER
> ----------------- tdmailcopy
> ----------------- tdmailcrforward
> 
> It seems I have a filesystem without any attributes for the files...

Yes?  So what's the problem?  You haven't set any ext2/ext3 specific
attribute flags.  So there are no attributes set.  Look at chattr man
page to see what attributes are supported, and note that not all
attributes are necessarily supported.

> Is there another command/program which can I use the get file/directory
> attributes from ext3 and over NFS?

_What_ attributes are you trying to get?  

> I think, parsing the output of 'ls -Al' is crap.

If you mean the time and ownership information, there are plenty of
ways to do this.  You can write your own C progam that uses the stat
system call.  (See man 2 stat).  You can use the perl progam.

> And I have tried it over NFS... :-/

The chattr/lsattr are for setting and getting certain filesystem
specific flags; attributes is probably not the best term, and it's no
doubt confusing you, but that's mainly due to historical reasons.

                                                - Ted

--- End Message ---

Reply via email to