[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

window sever

hey guys i need to give a folder and sub folders file permission to all read and write.

but it does not seem to work.

how can i make it happen?
0
JCWEBHOST
Asked:
JCWEBHOST
1 Solution
 
kyodaiCommented:
Add the group "Everyone" in NTFS permissions and grant "Full access".
0
 
JCWEBHOSTAuthor Commented:
how?
0
 
JCWEBHOSTAuthor Commented:
i have only romote access to my sever
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
JCWEBHOSTAuthor Commented:
remember i am a web host company
0
 
GanparCommented:
For your reference

http://www.windowsecurity.com/articles/share-permissions.html

NTFS refers to your DISK
0
 
JCWEBHOSTAuthor Commented:
i cant not do that couse i can only ftp in the sever
0
 
JCWEBHOSTAuthor Commented:
have iis7
0
 
angus_young_acdcCommented:
The following will create a directory and add full permissions (you can change this as necessary)  you will need a valid account that can access the directory though.

            FileSystemAccessRule rule = new FileSystemAccessRule(@"DOMAIN\userName", FileSystemRights.FullControl, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow);
            DirectorySecurity security = new DirectorySecurity();
            security.AddAccessRule(rule);
            Directory.CreateDirectory(@"C:\MyDirectory", security);

Open in new window

0
 
JCWEBHOSTAuthor Commented:
where do i place the code?
0
 
JCWEBHOSTAuthor Commented:
can you show me what to change?
0
 
JCWEBHOSTAuthor Commented:
i have this details

ftp: 108.175.148.57
user name: xxxxxxxxxxxx
user password: xxxxxxxxxxxx
0
 
GanparCommented:
I dont think u can do it from FTP account.... You must contact your administrator do to this think
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now