[jp] Cannot delete/home/bob/.jpilot/Backup/Archive_2003-xx-xxfiles
David A. Desrosiers
hacker at gnu-designs.com
Sat Mar 22 21:54:44 EST 2003
> linux:/home/bob/.jpilot/Backup/Archive_2003-01-03 at 15:22:16 # ls -la
> ls: AddressStatesDB.pdb: Permission denied
> total 0
> drwxr-xr-x 2 bob users 70 2003-01-19 21:56 .
> drwxr-xr-x 7 bob users 358 2003-03-22 16:43 ..
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 *
# for i in `find . -type d -name \*`; do chmod 0755 $i; done;
This will make sure that the file and directory ownership is
'bob.users' and that the directories below are all 0755, which should allow
you to read and write to the data inside, as well as at least see what's
Barring that, I'd check file or inode corruption. Boot into
single-user mode ('linux init=/bin/sh' at the lilo prompt), then check your
filesystem with '/sbin/e2fsck -f -y /dev/hdX', where 'X' is your partition
that /home/bob resides on. If you're on SCSI, that'd be /dev/sdX.
Try that, and see where that gets you. Alternately, you could just
mv /home/bob/.jpilot to /home/bob/.jpilot.orig, then try to do a clean sync
with J-Pilot after that. Or did you try that already?
More information about the Jpilot