[jp] Cannot delete/home/bob/.jpilot/Backup/Archive_2003-xx-xxfiles

Paul Gear paul at gear.dyndns.org
Sun Mar 23 08:00:52 EST 2003

David A. Desrosiers wrote:

>	This doesn't sound like a J-Pilot issue, and is likely more of a
>system management/administration issue. Try this, as root, go to that user's
>$HOME/.jpilot directory and execute the following:
>	# cd /home/bob/.jpilot
>	# chown bob.users -R *
That would be better:
    chown -R bob:users .
in case there are dot files in the directory, and a non-GNU version of 
chown is in use.

>	# for i in `find . -type d -name \*`; do chmod 0755 $i; done;

And that would be much better:
    find . -type d -print0 | xargs --null chmod 0755
assuming GNU find and xargs are in use.  This handles files with spaces 
in the names much better.


More information about the Jpilot mailing list