Change security settings on a folder

i have windows 7  PC
i have two users on that machine - administrator and myuser1
I have a folder on that PC - d:\myfolder1
now i  want to change security setting on that folder so that myuser1 cannot delete any files in d:\myfolder1,

myuser1 should be able to write to that folder but not delete any files in d:\myfolder1 ....

pl help

thanks a lot
at999Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jfranco123Commented:
Folder and file permissions

 Here are the steps to modify ownership and permissions of folders and files:

  1.       Right-click the file or folder, click Properties, and then click the Security tab.

  2.       Click Advanced, and then click the Owner tab.

  3.       Click Edit, and then do one of the following:

 ·         To change the owner to a user or group that is not listed, click Other users and groups and, in Enter the object name to select (examples), type the name of the user or group, and then click OK.

  ·         To change the owner to a user or group that is listed, in the Change owner to box, click the new owner.

  4.       If you want to take ownership of the contents of the folder, select the Replace owner on sub containers and objects check box.

  5.       Click OK, and then click Yes when you receive the following message:

          You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?

          All permissions will be replaced if you click Yes.

Note folder name is the name of the folder that you want to take ownership of.

  6.       Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.

  Additional considerations

   ·         An administrator can take ownership of any file on the computer.

   ·         Assigning ownership of a file or a folder might require you to elevate your permissions using User Access Control.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
at999Author Commented:
kk let me try that thanks so much
0
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Hi,

You will need to apply special permission for the user to the folder by going to the Advanced section of the security properties and uncheck "Delete folders and files" assuming that you already granted the user change/modify permission.

I've seen this working several times.

Regards
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.