changing permissions on multiple files

Discussion in 'Windows Vista Security' started by acsun, May 31, 2009.

  1. acsun

    acsun Guest

    I recently just took the hard drive out of my old laptop that ran xp and
    put it into an enclosure. I'm now trying to access the files on the hard
    drive from a vista machine and each time I want to do something with a
    file I have to change its permission. However I have a lot of files on
    the hard drive and going to properties to change the permission each
    time is a task that will take hours. I tried selecting all the files,
    but when I looked at their properties the security tab doesn't appear in
    the window. So I then ran an elevated command prompt and use the icacls
    command. I typed this in:

    icacls *.jpg /grant myName:(F)

    it should grant myName full access to all the .jpg files in the current
    directory but it just prints "Picture 003.jpg: Access is denied.
    Successfully processed 0 files; Failed processing 1 files"

    I know I can change permissions on each individual file successfully
    but I have no idea how to do them all at once. Does anyone have an idea
    on how to do this or see if I am doing something wrong.

    Thanks.


    --
    acsun
     
    acsun, May 31, 2009
    #1
    1. Advertisements

  2. acsun

    rive0108 Guest

    rive0108, May 31, 2009
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Timur Kashayev

    Setting multiple files permissions

    Timur Kashayev, Nov 23, 2006, in forum: Windows Vista Security
    Replies:
    1
    Views:
    307
    Jimmy Brush
    Nov 26, 2006
  2. ed
    Replies:
    0
    Views:
    576
  3. maya

    ultimate: permissions permissions permissions...

    maya, Apr 13, 2008, in forum: Windows Vista General Discussion
    Replies:
    1
    Views:
    780
    Colon Terminus
    Apr 14, 2008
  4. A Lake
    Replies:
    1
    Views:
    288
    Dmitry Korolyov [MVP]
    Sep 12, 2005
  5. Anthony
    Replies:
    0
    Views:
    771
    Anthony
    May 22, 2007
  6. Herb Martin
    Replies:
    2
    Views:
    1,431
  7. Jon

    Share Permissions vs NTFS Permissions

    Jon, Jun 17, 2007, in forum: Windows Server
    Replies:
    11
    Views:
    742
    Herb Martin
    Jun 18, 2007
  8. Dave Nickason [SBS MVP]

    Re: changing permissions multiple public subfolders

    Dave Nickason [SBS MVP], Nov 10, 2004, in forum: Windows Small Business Server
    Replies:
    1
    Views:
    903
    Chris Puckett [MSFT]
    Nov 10, 2004
Loading...