Re: Simple cron.daily script problem
On Mon, Dec 19, 2005 at 06:48:51PM +0200, 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?
>
Change the permissions. Use the umask=000 option, like in fstab. In
fact, you could add this mount point to fstab with the noauto option.
--
Without freedom of choice there is no creativity.
-- Kirk, "The return of the Archons", stardate 3157.4
Reply to: