Jump to content

Create file and delete file


Recommended Posts

Hello everyone, a little help needed here.

How to create a file with an administrator account, and add permission to a normal user to delete that file?

There's some folder? Or if the administrator creates the file the user doesn't have the right permissions to delete the same file?

Thanks

Link to comment
Share on other sites


Let's say that in my programs folder i have my program and under my program folder i have a folder named "Folder1".

The administrator will put in that folder the file, and then the user (normal account created with net user User /add command), will read the file and after read it'll delete the file?

How can i achieve this? I'm talking about commands or with some reg tweak.

Thanks

Link to comment
Share on other sites

The administrator will put in that folder the file, and then the user (normal account created with net user User /add command), will read the file and after read it'll delete the file?

How can i achieve this?

If the File System is FAT32, there is no problem

If the users have rights on the folder, there is no problem unless different rights have been set on the file itself or if the file has been MOVED from a directory were rights are diferent.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...