rootfixxxer Posted September 28, 2007 Share Posted September 28, 2007 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 More sharing options...
cluberti Posted September 29, 2007 Share Posted September 29, 2007 If you create a file as administrator, and then assign that user as the owner (and the user "CREATOR OWNER" has the rights to do so), the user can delete that file if necessary. Link to comment Share on other sites More sharing options...
rootfixxxer Posted September 29, 2007 Author Share Posted September 29, 2007 How can i assign a user to be the owner by code (commands)? Link to comment Share on other sites More sharing options...
rootfixxxer Posted September 29, 2007 Author Share Posted September 29, 2007 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 More sharing options...
Ponch Posted September 29, 2007 Share Posted September 29, 2007 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 problemIf 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now