Cosmos: Can't create file or directory in Cosmos FileSystem.

Hey everyone!

I can’t create a new dirextory or a new file, whether i use System.IO or Cosmos.System.FileSystem.VFS. I can read from a file, but i can’t create or write into it.

Is it possible, that that’s a bug or is it releated to my code? I’ve initialized the filesystem with this code:

private static Sys.FileSystem.CosmosVFS FS;

FS = new Sys.FileSystem.CosmosVFS(); Sys.FileSystem.VFS.VFSManager.RegisterVFS(FS); FS.Initialize();

And so I create a folder:

Directory.CreateDirectory("0:\\TestFolder");

Is that right or have I to do something else to make it work? With kind regards, Survari.

(Please do not be too strict with me, I’m from Germany and the english grammar is not my strength)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

Fixed by 1c8901850cd33577b5a69b04d6c990e948134018