[THIN] Re: Easier way to do this

  • From: "Michael Boggan" <mboggan@xxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 6 Jul 2004 11:21:56 -0500

yes. the folder names on the network match the user names in AD.
  ----- Original Message ----- 
  From: Jeff Malczewski<mailto:jmalczewski@xxxxxxxx> 
  To: 'thin@xxxxxxxxxxxxx'<mailto:'thin@xxxxxxxxxxxxx'> 
  Sent: Tuesday, July 06, 2004 10:18 AM
  Subject: [THIN] Re: Easier way to do this


  Well, assuming you are talking about home directories or profile directories 
or something, if the directory name matches the account name you could do this 
very easily with some scripting of the XCACLS utility...   If, however, they 
don't match up, well, then......    ??

  I already have a script written to do this if they match, I just did it a 
couple weeks ago when I moved to a new file server and had to reset all the 
permissions on home and profile directories..  I simply wandered through my AD 
OU's and grabbed the folders that matched the user's account names, and then 
changed the permissions on them as such.


    -----Original Message-----
    From: Michael Boggan [mailto:mboggan@xxxxxxxxxxx]
    Sent: Tuesday, July 06, 2004 11:10 AM
    To: ThinList
    Subject: [THIN] Easier way to do this


    I need to change NTFS permissions on 125 directories. Assigning only the 
user to each one and removing admins etc.  Is there a way to do this with a 
script or command line using a variable such as %username%, or something?

    Thanks,

    Michael Boggan

  This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. 

Other related posts: