Solved

Change file permissions with .net

Posted on 2006-11-06
4
192 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

23 Experts available now in Live!

Get 1:1 Help Now