MonthFebruary 2010

copy and paste file permissions recursively

With getfacl and setfacl your are able to backup and restore file permissions. This can be very helpful if you forgot to cp, tar or rsync them.

To backup use getfacl:

root@host:/some/location# getfacl -R * > /path/to/backupfile.acl

And setfacl to restore them:

root@host:/new/location# setfacl --restore=/path/to/backupfile.acl

simple as it is.

Hello and welcome to the new netmess.org blog!

netmess.org has changed from pmwiki to the famous wordpress blogging system. Alomost all posts have been migrated and are still available. With the new system and design, I’ll also switch the blog language to English.

have fun.

© 2017 netmess

Theme by Anders NorenUp ↑