AnsweredAssumed Answered

Folder creation problem after applying a rule

Question asked by shibu on Sep 19, 2013
Latest reply on Oct 4, 2013 by marcocel6
I just created a js file with the following content for blocking exe files.


if(document.mimetype == "application/octet-stream")
{

document.remove();
  
}
else
{
   document.save();
}


Then created a rule for a folder, "My Docs",  and assigned above js as Execute Script.
The rule I created for blocking executable files. The rule will delete all files with mimetype "application/octet-stream" when files are entered in to the folder.

Now, the problem is , its not allowing me to create a new Folder inside folder "My Docs". That folder also getting deleted on creation.

How can I solve this issue?

Outcomes