473,498 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Folder permissions



Hi,

How to set File or folder permissons to all users while I am creating
the File in administrator.

Once I restatt my machine I login into the normal user.
There I dont have the permissions to write a content On that file.

Need to set the permissions to all users in C#.

Any body help?

Thanks in advance.

regards
*** Sent via Developersdex http://www.developersdex.com ***
Mar 16 '06 #1
2 1531
Hello,

You could try this microsoft article
http://support.microsoft.com/kb/899553/EN-US/

Regards
Scott Blood
C# Developer

"Kondapanaidu Gottipati" <ko************@gmail.com> wrote in message
news:eM**************@TK2MSFTNGP14.phx.gbl...


Hi,

How to set File or folder permissons to all users while I am creating
the File in administrator.

Once I restatt my machine I login into the normal user.
There I dont have the permissions to write a content On that file.

Need to set the permissions to all users in C#.

Any body help?

Thanks in advance.

regards
*** Sent via Developersdex http://www.developersdex.com ***

Mar 16 '06 #2
Run cacls.exe using System.Diagnostics.Process.Start.

Willy.

"Kondapanaidu Gottipati" <ko************@gmail.com> wrote in message
news:eM**************@TK2MSFTNGP14.phx.gbl...
|
|
| Hi,
|
| How to set File or folder permissons to all users while I am creating
| the File in administrator.
|
| Once I restatt my machine I login into the normal user.
| There I dont have the permissions to write a content On that file.
|
| Need to set the permissions to all users in C#.
|
| Any body help?
|
| Thanks in advance.
|
| regards
|
|
| *** Sent via Developersdex http://www.developersdex.com ***
Mar 16 '06 #3

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

Similar topics

0
3489
by: Andrew Crowe | last post by:
Hi guys, We're using the ISAPI version of PHP with IIS5.0 On some websites for some reason any php file in the websites root is given the path winnt/system32 (getcwd() returns...
7
2543
by: Kim Lots | last post by:
Hi Sorry to disturb you again but i really like to know what's the NTFS folder permissions on a "virtual directory" folder for a public webserver iis 5.x running ASP 3.0 with an Access DB on a...
0
1019
by: Srilatha | last post by:
Hi, I have a folder called "Public_Documents" on my web server. The documents in this folder should be accessible to everyone. I want to create a sub folder here "Private Documents". Only the...
2
2323
by: Ram | last post by:
Hey, I'v managed to find a way of adding NTFS permissions to a certain folder, But the problem is, the folder has a couple of inherited permissions which I want to delete. How can I remove the...
4
2682
by: Richard | last post by:
Hi all, Is there any class in .NET 1.x that will help me set file & folder permissions for a user? Aka - I would like to do the in code equivalent of right clicking a folder in file explorer...
0
849
by: Tom C. | last post by:
Does anyone know how to set Customer Folder Permissions in Visual Studio? I have Front Page Extensions set on our hosting provider so that I can use the Project - Copy Project feature of VS. ...
4
3078
by: Joey | last post by:
Hey, How can I add/edit/delete Folder NTFS permissions in .NET? I have a Win2K Box, and WMI is not installed on my servers Thanks ahead! -- Joey
2
4102
by: skinnybloke | last post by:
Hi - I have a file permissions problem with PHP. I am using a product called Actinic to develop a shopping cart. This creates a subfolder named ACATALOG into which it loads all of its files. The...
0
828
by: Mark | last post by:
Is there a way to determine what folder permissions I have before trying to write a file to it? My dilema is that I have to write a file to two folders (on different machines). If one write...
2
3095
by: harrish | last post by:
Can we set folder permissions in IIS 5 through ASP 2.0 coding? In my case, there is a particular folder named "Resumes" in the website in which anonymous users can post their profile but only...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7165
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,...
0
7203
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.