Solved

Change file permissions with .net

Posted on 2006-11-06
4
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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