Re: Permissions in NTFS for Tcl



Darren New schrieb:
From my research, I've been unable to find any convenient way of
figuring out (or setting) the permissions on NTFS files under Windows
using Tcl. Is there an inconvenient way?

In essense, there's a remote file store. If I upload a file that's
readable by Everybody on the local machine, I want to set it to be
public-read on the remote machine. Similarly with everybody-writable,
and the reverse when I'm bringing files down. The sort of thing that's
easy to parse out of chmod bits under Unix.

I don't want to parse the output of cacls. Is twapi generally what I'm
looking for? It looks like it might do the trick, but it seems a bit
overwhelming. :-)

Try to look at TWAPI, i provides all the bits and pieces, and yes acls
are messy...
twapi.sourceforge.net

Michael
.



Relevant Pages