I created a crypt mount (named test) upon my Google drive (named gdrive), chose filename_encryption = off and directory_name_encryption = true, everything else default with random passwords. Newly created folders don't get encrypted (like the flag was set to false instead of true)
What is your rclone version (output from rclone version )
go version: go1.12.15
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Gentoo Linux 64-bit
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp )
type = crypt
remote = gdrive:
filename_encryption = off
directory_name_encryption = true
password = mypass1
password2 = mypass2
P.S. I just read more thoroughly the rclone documentation (link here) it states that if you are not using file name encryption, then it "doesn’t hide file names or directory structure" , which contradicts the "Directory name encryption" (section right below the link) when set to true.
It's like the filename_encryption = off disregards the directory_name_encryption = true and it sets it to 'false' no matter what.
If it is indeed working as intended, then it shouldn't ask you for folder name encryption in the first place, as it is really difference there (false = true = you can't encrypt folder names whatsoever).
As for stopping the crypt with an error, perhaps it would be better if the 'directory_name_encryption' was bypassed (during rclone wizard) when the user would choose the "off" encryption regarding 'filename_encryption', along with a message that "Folder names won't be encrypted with this option" or something like that.
Of course, at the rclone configuration file it should automatically create the directory_name_encryption = false , which is ultimately redundant as it seems, but a good thing so the user should be given a hint when browsing the conf file.
I don't know if this would be a large change or not, you can stick with the error I guess.
Nevertheless, I believe a minor update in the rclone documentation should be done, just to clarify things there too.