Hi,

a lot users and admins use these tiny scripts to backup their ACLs.

e.g.:
#!/bin/bash
mkdir -p /root/files
getfacl -R / | gzip -c -9 > /root/files/aclbackup.gz

But with acl from lenny these scripts will not work anymore. The
behaviour of getfacl changed. So I get a maybe endless recursion in
/sys. Even 'getfacl -R -P' doesn't solve this.

You can change the last line to
'getfacl -R /sys | gzip -c -9 > /root/files/aclbackup.gz'
to gain a lot of data within minutes (here 3,5 megabytes in a few
minutes). On one machine I get output to stderr which notes that there
are "Too many levels of symbolic links". An example is attached.

A possible suggestion: Don't backup the ACLs of /sys. But what if I run
into these problems with more important data?

Regards,
Marcus

Attachment: example.gz
Description: GNU Zip compressed data

Reply via email to