Click here to get back home

How to prevent deleted directories

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to prevent deleted directories Arch Willingham 08-02-2005
Posted by Arch Willingham on August 2, 2005, 12:26 pm
Please log in for more thread options
What permissions do I need to set on a directory so that a user can:

Read and write all files in the directory
AND
Can't delete the file or directory unless they are the owner of the file or
directory???

I.E. I want user A to be able to read and write to a file but not delete it
unless he created it. It seems like by virtue of being able to write to it,
it would prevent him from being blocked from deleting it.

Thanks!

Arch




Posted by Mike Cook on August 2, 2005, 4:45 pm
Please log in for more thread options
Assign the user group the write permission. Assign the creator owner group
the modify permission. Since the permissions are cumulative, this will give
the desired result.
> What permissions do I need to set on a directory so that a user can:
>
> Read and write all files in the directory
> AND
> Can't delete the file or directory unless they are the owner of the file
> or directory???
>
> I.E. I want user A to be able to read and write to a file but not delete
> it unless he created it. It seems like by virtue of being able to write to
> it, it would prevent him from being blocked from deleting it.
>
> Thanks!
>
> Arch
>




Posted by Arch Willingham on August 2, 2005, 6:39 pm
Please log in for more thread options
I always wondered what the difference was between "write" and "modify"
permissions...thanks!

Arch
> Assign the user group the write permission. Assign the creator owner
> group the modify permission. Since the permissions are cumulative, this
> will give the desired result.
>> What permissions do I need to set on a directory so that a user can:
>>
>> Read and write all files in the directory
>> AND
>> Can't delete the file or directory unless they are the owner of the file
>> or directory???
>>
>> I.E. I want user A to be able to read and write to a file but not delete
>> it unless he created it. It seems like by virtue of being able to write
>> to it, it would prevent him from being blocked from deleting it.
>>
>> Thanks!
>>
>> Arch
>>
>
>




Similar ThreadsPosted
Deleted files July 18, 2006, 7:50 am
How do I tell which user deleted a file? December 13, 2006, 12:37 pm
unexpected directories created July 9, 2008, 10:42 pm
Audit policy problem (deleted file name) May 28, 2007, 7:21 am
Help with security rights for Home directories June 7, 2005, 4:48 am
Controlling listing of directories via NTFS March 2, 2006, 1:31 pm
solution required; Someone accidentally or intentionally deleted some files and folders from network resource. June 19, 2007, 4:47 am
Prevent Copying July 6, 2006, 8:28 am
Prevent copying October 6, 2006, 4:50 pm
How to prevent exploits June 23, 2007, 8:26 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap