Thread: Accessing directories with different permission

  1. #1
    Registered User
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    80

    Accessing directories with different permission

    I try to access the files in a certain folder using Directory.GetFiles() and a bunch of permission denials are thrown back at me. How can I let the program access the folder using a certain user/permission set? Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    http://cboard.cprogramming.com/showthread.php?t=87750
    Now I've no idea which language you're programming in...
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. vector : accessing values
    By rahulsk1947 in forum C++ Programming
    Replies: 1
    Last Post: 06-01-2009, 09:26 PM
  2. VC6 directories
    By Magos in forum Tech Board
    Replies: 0
    Last Post: 03-11-2005, 05:52 PM
  3. Replies: 4
    Last Post: 06-11-2004, 06:18 PM
  4. listing directories with rwx permission..
    By Mak in forum Linux Programming
    Replies: 5
    Last Post: 03-24-2004, 08:43 PM
  5. Working with directories...
    By C Seņor in forum C Programming
    Replies: 4
    Last Post: 04-20-2002, 11:45 AM