Solved

Change file permissions with .net

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
write xml in vb.net 2 34
Sql server insert 13 38
Help with opening combobox using VB.NET. 3 26
VB.NET Application Installation with sqlserver 8 32
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 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