Windows 7 – Create File/Folder Permission Without Delete Permission

file-permissionswindows 7

Is there a way I can set create file/folder permissions for a user in Windows 7 without giving delete permission for a folder?

I don't want the user to delete any files in that folder, but he should be able to make new files,rename them, and copy new files to that folder. Is this possible in Windows?

Best Answer

You cannot disallow deletes and expect rename to work, as explained below.

Windows treats a file renaming operation as a deletion of the file and creation of a new file with the new name. Therefore, you absolutely must have one or both of the following two permissions:

  • Delete permission on the file itself, or
  • Delete Subfolders and Files permission on the folder that contains the file.

To complete the list, for renaming you require in addition the following permissions:

  • Write Data permission on the folder because of the new-file creation
  • Read Attributes permission to both the folder and the actual file
  • Synchronize permission to both the folder and the actual file
  • List Directory permission to the folder.

These permissions allow the rename command to check for the existence of the file and verify that the file's attributes (for example, the Read Only attribute) don't prevent the rename.

Related Question