Results 1 to 11 of 11

Thread: Change Permissions in Bulk?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Iron Fist Senior Member Husar's Avatar
    Join Date
    Jan 2003
    Location
    Germany
    Posts
    15,617

    Default Re: Change Permissions in Bulk?

    It seems like for every bug you get in Windows that I don't get, I get one in Linux that you don't get. Then again networking in Windows can be a pain with the authorizations, atm it works fine for me but I've had some weird issues before.

    Have you tried simply restarting to reset access settings? Did you touch any of the files earlier? Are you using an administrator account (I assume you are)?


    "Topic is tired and needs a nap." - Tosa Inu

  2. #2
    Nobody expects the Senior Member Lemur's Avatar
    Join Date
    Jan 2004
    Location
    Wisconsin Death Trip
    Posts
    15,754

    Default Re: Change Permissions in Bulk?

    Quote Originally Posted by Husar View Post
    Have you tried simply restarting to reset access settings?
    Do you mean a simple reboot? Um, isn't that the first thing you try for everything in Windows? I mean, when in doubt, you just reboot the thing.

    Or are your referencing something else?

    Quote Originally Posted by Husar View Post
    Did you touch any of the files earlier? Are you using an administrator account (I assume you are)?
    What do you mean by "touch"? This was the bulk storage drive off my old PC. Since a big part of my job is writing videos, I keep copies of the final compressions on this drive. So ... yeah, I moved the drive, which had local permissions, which got blown to hell by the new machine, which I'm now trying to fix. Apparently my new local identity, LEMUR\CUBE, does not translate to my old local identity, LEMUR\UBERBOXEN.

    Yeah, admin account, for all the good it does me.
    Last edited by Lemur; 01-26-2014 at 20:11.

  3. #3

    Default Re: Change Permissions in Bulk?

    Me I'm no friends with the Windows system admin tools. So I tend to just brute force these things using Linux instead, but then again I don't use Windows for anything needing even the pretense of security.

    As root from the terminal simply copy the contents of the file to another file, delete old file in an attempt to get the contents of the file copied to a location which ACLs don't see. Do this for all files you care about, using something like

    Code:
    echo 'cp "$1" "backup-$1" && rm -f "$1"' > /tmp/force-my-way.sh
    chmod +x /tmp/force-my-way.sh
    find /media/path/to/volume -type -f -name '*.pattern' -exec sh /tmp/force-my-way-sh "{}" \;
    Linux NTFS drivers may be smart enough not to touch ACLs but probably won't be smart enough to create new ACL misery for you. Be careful with the find command to only match the files you really want to touch, so it's probably best to execute the find query without the -exec part to verify that first.

    Finally let Windows fsck the volume to make sure Windows NTFS drivers agree with the Linux ones on the state of the disk afterwards.
    Last edited by Tellos Athenaios; 01-27-2014 at 01:35.
    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

    Member thankful for this post:

    Lemur 


  4. #4

    Default Re: Change Permissions in Bulk?

    Also, if you have a non-gimped version of Windows you might have PowerShell. You could spend an evening's worth of research then pit yourself in a battle of wit and willpower against Windows.
    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

    Member thankful for this post:

    Lemur 


  5. #5
    The very model of a modern Moderator Xiahou's Avatar
    Join Date
    Aug 2002
    Location
    in the cloud.
    Posts
    9,007

    Default Re: Change Permissions in Bulk?

    I bet you need to seize ownership of the files. I used to come across this a lot when I used to have to support servers...
    Right click -> Properties -> Security Tab -> Advanced button -> Owner tab -> click edit. And if you want to push it down thru the directory structure, click the appropriate check box.

    After that, you should be able to set permissions without issue.
    Last edited by Xiahou; 01-27-2014 at 05:03.
    "Don't believe everything you read online."
    -Abraham Lincoln

    Members thankful for this post (3):



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO