file-permissions for append-only
From: Karl Scheibelhofer (karl.scheibelhofer_at_iaik.tugraz.at)
Date: 06/15/05
- Next message: ADJ: "Re: Non-Administrator's access to local CD-ROM?"
- Previous message: ACFINC: "Re: 802.1x and RADIUS servers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 15 Jun 2005 08:40:24 +0200
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
- Next message: ADJ: "Re: Non-Administrator's access to local CD-ROM?"
- Previous message: ACFINC: "Re: 802.1x and RADIUS servers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|