473,387 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

uncheck inherit permissions checkbox on security-tab

Hi there,

from within a .NET environment (framework v1.1), i create a directory. No
problem.
In my case, when you look at the properties of that directory, specifcally
the security-tab, the checkbox about inheriting the permissions of the parent
directory is checked.
Is there a way to uncheck this checkbox from within my .NET program ?

I have a commandline tool (SetACL; see http://setacl.sourceforge.net), but I
would like to do this in the program myself.

Any help is appreciated.
--
The next line is true.
The previous line wasn't
Jul 21 '05 #1
2 1670
I came across this library sometime ago. Though I have not used it, you
might want to take a look:
http://www.gotdotnet.com/Community/U...f-e0705af065d9

"ArchieD" <ad********@DO.hotmail.NOT.com.SPAM> wrote in message
news:92**********************************@microsof t.com...
Hi there,

from within a .NET environment (framework v1.1), i create a directory. No
problem.
In my case, when you look at the properties of that directory, specifcally
the security-tab, the checkbox about inheriting the permissions of the
parent
directory is checked.
Is there a way to uncheck this checkbox from within my .NET program ?

I have a commandline tool (SetACL; see http://setacl.sourceforge.net), but I
would like to do this in the program myself.

Any help is appreciated.
--
The next line is true.
The previous line wasn't
Jul 21 '05 #2
I came across this library sometime ago. Though I have not used it, you
might want to take a look:
http://www.gotdotnet.com/Community/U...f-e0705af065d9

"ArchieD" <ad********@DO.hotmail.NOT.com.SPAM> wrote in message
news:92**********************************@microsof t.com...
Hi there,

from within a .NET environment (framework v1.1), i create a directory. No
problem.
In my case, when you look at the properties of that directory, specifcally
the security-tab, the checkbox about inheriting the permissions of the
parent
directory is checked.
Is there a way to uncheck this checkbox from within my .NET program ?

I have a commandline tool (SetACL; see http://setacl.sourceforge.net), but I
would like to do this in the program myself.

Any help is appreciated.
--
The next line is true.
The previous line wasn't
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: aaj | last post by:
Hi all I have a stored procedure that has the line EXEC master..xp_cmdshell 'dtsrun /Stestjob1 /N testdts /E' If I run the SP from an access front end as a trusted user or from a scheduled...
4
by: Sileesh | last post by:
Hi I have datagrid with 8 items. Out of which 2 items are checkboxes. Data is binded dynamically to the datagrid Based on some values from the database I have to check or uncheck the checkbox...
2
by: Rekha | last post by:
Hi I have datagrid with 5 items. Out of which 1 items are checkboxes. The bool column(checkbox column ) in added in datagrid. The rest of Data is binded dynamically to the datagrid Based on...
1
by: walkerhunter | last post by:
I have the three embedded Ruby(erb) check_boxes below: Patient #1<%= check_box("patient", '1', {}, "yes","no") %></br> Patient #2<%= check_box("patient", '2', {}, "yes","no") %></br> Patient...
5
by: kid | last post by:
Hi, I have 5 checkbox elements, i.e: ( 1 ) a ( 2 ) b ( 3 ) c ( 4 ) d ( Check/Uncheck all )
12
by: swebster | last post by:
I need to zero in on a specific section of my jsp form during a hide to uncheck the checkboxes in that section. Currently, anything I try either unchecks all checkboxes on the form or doesn't work...
0
by: Graham | last post by:
I'm trying to write a CGI script in C#; it receives data from an HTML form via the POST method, and tries to read the form data using System.Environment.GetEnvironmentVariable(). Which is where I...
1
by: sva0008 | last post by:
Hi, I want a checkbox in such a way that if it is uncheck the user can check it. but if it is checked the user should not be able to uncheck it . can anyone please help. Regards
1
by: Anuj | last post by:
Hi, since sometime I'm stuck in a problem where I want to check or uncheck all the checkboxes. If I'm choosing name for the checkbox array as 'chkbx_ary' then I'm able to check/uncheck all the...
2
by: ezechiel | last post by:
Hi, I'm working on windows here.. i have a script that makes directories, subdirs (mkdir) and I afterwards set special permissions with xcacls trough a system call. But when I took a closer...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.