|
-
Mar 20th, 2006, 01:02 PM
#1
Thread Starter
New Member
Changing file permissions of a directory and all contents
I have written a program to copy files from one location to another for making backups of customers data to give to them. However I want to be able to change file permissions on files so that they wont run into any "Access is Denied" errors when trying to use it on another machine. What would be the easiest way to accomplish this? I need it to be able to do the following:
a) get the current owner of the file to be displayed.
b) change the owner of file to current user.
c) change file permissions to give full control to everyone.
I am using VB .NET 2005, any help would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|