-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 DONDE="/" LISTADO_FIND="encontrarscript_listado_ficheros" find "$DONDE" -type f \ -prune -o -path '/var/spool/news' \ -prune -o -path '/var/run/udev/links' \ -prune -o -path '/var/run/user' \ -prune -o -path '/var/run/systemd' \ -prune -o -path '/var/lib/ntp/proc' \ -prune -o -path '/proc' \ -prune -o -path '/sys' \ -prune -o -path '/run' \ -prune -o -path '/run/udev/links' \ -prune -o -path '/var/run/vmblock-fuse' \ -prune -o -path '/data/My_Book/Backup' \ -prune -o -path '/mnt/BookTelcontar' \ -prune -o -path '/data/waterhoard/backup' \ > $LISTADO_FIND Yet when it runs it spits: find: ‘/data/waterhoard/backup/partimag/AmonLanc/etc/apache2/ssl.key’: Permission denied find: ‘/data/waterhoard/backup/partimag/AmonLanc/etc/cups/ssl’: Permission denied find: ‘/data/waterhoard/backup/partimag/AmonLanc/etc/news’: Permission denied find: ‘/data/waterhoard/backup/partimag/AmonLanc/etc/polkit-1/rules.d’: Permission denied find: ‘/data/waterhoard/backup/partimag/AmonLanc/etc/ppp’: Permission denied So prune is not doing what I thought it would do. How can I tell find to not search those directories? - -- Cheers Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXiIBCRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVclcAnRU/YZBbAbIp+6E+5AZV eOVh6AFBAJ9Mi9i1/BtBFz8fb7yimW2YG6z9Rg== =itHc -----END PGP SIGNATURE-----