Permissions in NTFS for Tcl
- From: Darren New <dnew@xxxxxxxxxx>
- Date: Mon, 30 Oct 2006 21:42:17 GMT
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. :-)
Thanks in advance!
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where is it?"
"Channelwood."
"We should go there on vacation."
"..."
.
- Follow-Ups:
- Re: Permissions in NTFS for Tcl
- From: Michael Schlenker
- Re: Permissions in NTFS for Tcl
- Prev by Date: Expect 5.43 on Windows XP - spawn crashes tcsh.
- Next by Date: Re: Syntax, expressiveness and the beauty of Tcl
- Previous by thread: Expect 5.43 on Windows XP - spawn crashes tcsh.
- Next by thread: Re: Permissions in NTFS for Tcl
- Index(es):