Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > file-permissions for append-only

file-permissions for append-only

Forum Windows 2000/NT : Windows 2000/NT General Discussion - file-permissions for append-only

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.security (More info?)

 

the Windows documentation about the adavanced file permission "Append Data"
(Create Folders/Append Data) says:

Append Data allows or denies making changes to the end of the file but not
changing, deleting, or overwriting existing data (applies to files only).

however, i cannot manage to append data to files which have set this
permission, but not the "Write Data" (Create Files/Write Data) permission. i
tried using a simple

echo test >> file.txt

and a simple program written in C, using

fp = fopen(fileName,"a" );

but both fail, if i do not also set the "Write Data" permission. users
should only be able to append data.
can anybody tell how to use file permissions correctly to enable certain
users to append data only, but not modify existing data in a file (e.g. a
log file)?

regards

Karl

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > file-permissions for append-only
Go to:

There are 846 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them