I guess I don't understand how your question relates to NTFS and why you're asking about it.
When you copy, move or write to a location, your script's security context is all that's necessary.
And, when you're talking about a virus scan type app, it won't matter what file systems exist... Only that files can be read.
Are you scanning(reading) files on an NTFS file system? That shouldn't be an issue. The Linux NTFS driver should be good enough to do that unless you configure the NTFS file properties to explicitly deny.
Do you have your ~/VirusVault folder created already (and of course you must be precise with your camel case)?
If you write to a location that doesn't already exist, the folder won't automagically appear.
You should also check the values of your variables using echo, eg
Code:
echo $HOME
echo $windows_folder
If those values are supposed to exist before you run your script, then you can just invoke in a console.
If your scan command is embedded in a larger script, then you can embed these commands just before you scan to see whether they have the correct values then.
TSU
Bookmarks