]> err.no Git - util-linux/commit
namei: gater information about / (root)
authorKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2009 23:37:57 +0000 (01:37 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2009 23:37:57 +0000 (01:37 +0200)
commita439d194fb62a78212c917c088f32b556f3842d3
tree241ba0e532753a1a50f3beba0e59cd9773c841c6
parentd1dca71078a9ed8eef35ba2b790d1e7db9421f66
namei: gater information about / (root)

$ ll -d /foo
drwxr-xr-x 2 kzak kzak 4096 2009-10-07 01:23 /foo

old version:

$ namei -l /foo
f: /foo
Segmentation fault

new version:

$ namei -l /foo
f: /foo
drwxr-xr-x root root /
drwxr-xr-x kzak kzak foo

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/namei.c