Accessing directories with different permission

This is a discussion on Accessing directories with different permission within the C# Programming forums, part of the General Programming Boards category; I try to access the files in a certain folder using Directory.GetFiles() and a bunch of permission denials are thrown ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,532
    Accessing files/directories with different permission
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 04: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, 07:43 PM
  5. Working with directories...
    By C Seņor in forum C Programming
    Replies: 4
    Last Post: 04-20-2002, 11:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21