Set permissions for new directory via .NET / COM

Advertisement

AlainC
Joined:
Posts:
3

Set permissions for new directory via .NET / COM

When using
session.CreateDirectory(path)
the permissions can't be set like with transferoptions for files.

The mkdir-command in linux accepts this to be set (eg. "mkdir -m 770 path"), but CreateDirectory doesn't accepts options.
I can't work with 'ExecuteCommand("chmod 770 path") as the server at the other side doesn't allow commands to be set.

So if it would be possible to set directory-permission while creating, this would be a good improvement (at least for me :))

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum