Solved

Change file permissions with .net

Posted on 2006-11-06
4
202 Views
Last Modified: 2010-04-23
How can I change the owner/group of a file or directory using visual basic 2005?  Thanks, Chad
0
Comment
Question by:chadmanvb
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Raynard7
ID: 17886579
Please see the detailed explanation on how to change and verify security permissions using .net below

http:Q_21618839.html "Programmatically verify directory permissions"
0
 

Author Comment

by:chadmanvb
ID: 17886611
Thanks, but I am not sure if I understand how to use that to change owner/group/other of a file or dir?  Chad
0
 
LVL 41

Accepted Solution

by:
graye earned 500 total points
ID: 17898855
Take a look at the following article http://home.hot.rr.com/graye/Articles/ChangeOwner.htm
0
 

Author Comment

by:chadmanvb
ID: 17901491
Ok, this works.  I just wish there was an easier way to do it:)  Got to love Solaris....chown owner:group  Chad
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now