does it work running the script from a shell? that is, have you tested it outside of cron? maybe mount -t vfat,users? or some umask? chmod your /mnt etc etc etc
A

David Baron wrote:
I have something like
mount -t vfat /dev/hda1 /mnt/clamscan o ro
clamdscan .. /mnt/clamscan/a-directory
umount /mnt/clamscan

The mount point is not the fstab mount point and the disk is not mounted to its normal mount point when this script is run. The clamdscan cannot access the directory because of permissions problem.

The script used to work fine with the disk at its normal mounted point on bootup. What to do?




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to