Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a proprietary Windows financial program that exports a text file periodically. This file is extracted to a Windows directory by creating a series of temporary files & finally after removing these creates the final file. I'd like the file/directory to allow read/writes/deletes but no editing of a file once it has been created, I've messed about with Windows permissions with no success, does anyone have any ideas on how this could be accomplished?

share|improve this question
How could you allow writes, but disallow editing? Do you mean that want it to be possible to append the file, but not edit earlier contents? – sblair Oct 21 '11 at 14:48
up vote 0 down vote accepted

allow read/writes/deletes but no editing

As far as I know, Windows/NTFS does not distinguish between writes and edits.

does anyone have any ideas on how this could be accomplished?

Configure the program to export to a non-shared folder. Use something like robocopy to watch that folder, copy files to a shared folder with restricted permissions. Give robocopy elevated permissions (e.g. run as administrator).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .