Results 1 to 4 of 4

Thread: How to Set write permission to a folder

  1. #1
    Join Date
    Apr 2009

    How to Set write permission to a folder


    I was successful in creating a folder through code. further that But i was trying to set the write permission to the folder so that i can assign to whom i should allow to access the folder. I have placed a XML there but when i going to recreate the XML through it won't. Please help me. If sample code is being posted it will help me very much.


  2. #2
    Join Date
    Jan 2009

    Re: How to Set write permission to a folder

    I have tried out the following option to check on my install machine, I'm logged in as a low-privileged user. I tried run the setup.exe,and Vista prompts me to enter an administrator account to run it. After this the install works OK.

    you may also check the file permissions on The "c:\program data\company name" folder, I cannot view the "Security" tab, which I suppose is OK, because it's not an admin account. I then provide admin credentials and take "ownership" of this folder so that I can see the security permissions.

  3. #3
    Join Date
    Feb 2009

    Re: How to Set write permission to a folder

    It is very difficult to provide write permission to any folder through coding..may be this is possible but i have never come across such kind of thing for coding in my experience...

  4. #4
    Join Date
    Dec 2008

    Re: How to Set write permission to a folder

    If you wish to audit the file and folder permissions on your server, then you may want to look into using the "find" command. The following command will search for folders that are world writable:

    find / -type d -perm -001

    And the following command will search for files that are word writable:

    find / -type f -perm -001

Similar Threads

  1. Replies: 4
    Last Post: 06-02-2012, 08:03 PM
  2. Traverse a folder without permission?
    By PeteC in forum Windows Server Help
    Replies: 7
    Last Post: 22-08-2009, 12:51 AM
  3. Mandriva 2008 Live and write permission on External HD
    By mohandas in forum Operating Systems
    Replies: 4
    Last Post: 10-03-2009, 11:36 AM
  4. Display the user permission on a share folder
    By Klums in forum Active Directory
    Replies: 3
    Last Post: 12-08-2008, 08:34 AM
  5. Restrict folder permission to prevent from moving
    By Fat Frog in forum Windows Server Help
    Replies: 6
    Last Post: 20-05-2008, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts