scase always uses mode 0755 when creating files and directories. This has two downsides:
it makes files executable, which does not make sense for the types of files scase generates/copies (html/css/js/etc.).
it ignores a users umask
I would suggest to simply drop the os.chmod call in FileNode.generate and remove the permission in the os.mkdir calls in FolderNode.generate and RootFolderNode.generate.
scase always uses mode 0755 when creating files and directories. This has two downsides:
I would suggest to simply drop the os.chmod call in FileNode.generate and remove the permission in the os.mkdir calls in FolderNode.generate and RootFolderNode.generate.