+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
Wireless Networks Thread, Transfer User Area's - Permissions Issues ?? in Technical; Originally Posted by GrumbleDook You could also always build a script to change permissions to what you want them to ...
  1. #16

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,582
    Thank Post
    107
    Thanked 761 Times in 592 Posts
    Rep Power
    180

    Re: Transfer User Area's - Permissions Issues ??

    Quote Originally Posted by GrumbleDook
    You could also always build a script to change permissions to what you want them to be ... using xcacls.exe ... that way even if you do move them elsewhere again (or need to reset the permissions for everyone so that things work) you have something to hand to do it.

    A bit of a longer job to start with, but could save you time at a later date.
    Not if you use the script I posted above which does that Tony :P

  2. #17
    fooby's Avatar
    Join Date
    Dec 2005
    Posts
    351
    Thank Post
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    18

    Re: Transfer User Area's - Permissions Issues ??

    I have been using software from wisesoft.co.uk to ensure the NTFS permissions are correct (before, I had built a script to do that)

    NTFS Fix http://wisesoft.co.uk/ntfsfix.php so whatever way its copied you can restore the permissions afterwards. As long as the folder is the username, for example \\server\share\username username will get full permissions and so will whoever else (staff / admins etc)

    fooby

  3. #18
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,943
    Thank Post
    115
    Thanked 272 Times in 250 Posts
    Rep Power
    104

    Re: Transfer User Area's - Permissions Issues ??

    Robocopy worked fine for me when I recently moved all the user areas. I use it as part of my backups as well.

  4. #19

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,582
    Thank Post
    107
    Thanked 761 Times in 592 Posts
    Rep Power
    180

    Re: Transfer User Area's - Permissions Issues ??

    BTW - ChrisH did help me out with the basis of my script! The reason I used the script method was cos I wanted to destroy all the old NT4/Win9x info from Connect 2.4.

  5. #20
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,943
    Thank Post
    115
    Thanked 272 Times in 250 Posts
    Rep Power
    104

    Re: Transfer User Area's - Permissions Issues ??

    Quote Originally Posted by Ric_
    BTW - ChrisH did help me out with the basis of my script! The reason I used the script method was cos I wanted to destroy all the old NT4/Win9x info from Connect 2.4.
    I cant take all the credit my typing pool of Monkeys helped out too

  6. #21
    flyinghaggis's Avatar
    Join Date
    Jan 2006
    Posts
    935
    Thank Post
    93
    Thanked 65 Times in 53 Posts
    Rep Power
    75

    Re: Transfer User Area's - Permissions Issues ??

    Another vote for Robocopy 8) Used it last time we had to do this and it's brilliant. Much faster than using NTBackup which would have been our next option.

  7. #22

    Join Date
    Jul 2005
    Location
    Corby
    Posts
    1,056
    Thank Post
    12
    Thanked 20 Times in 18 Posts
    Rep Power
    23

    Re: Transfer User Area's - Permissions Issues ??

    Robocopy it is then. I have looked at the Robocopy manual today and it looks pretty straight forward. I think we will test around twenty of the user areas on our test server and see how it goes.

    Thanks!

    Paul

  8. #23
    Alis_Klar's Avatar
    Join Date
    Oct 2007
    Location
    East Birmingham
    Posts
    266
    Thank Post
    130
    Thanked 18 Times in 8 Posts
    Rep Power
    17

    Re : XCACLS

    Quote Originally Posted by Ric_ View Post
    For those that want it, here is the script I use - I'm afraid this one is all hard coded (no handy switches this time).

    My setup: The user folders are each within a folder representing the year of entry (e.g. current year 11 has the folder 'Year 2001'). I have the root share for the home drives mapped on my workstation to drive U:

    The script goes through the folders within the specified directory and changes position so that domain admins have full control, 'staff' have read only access and the user has modify access. I then run chown to give the user ownership of their files.
    You say this is hardcoded.

    these are the referemces to "\BAINES" is the name of a user or your NT domain?

    Just trying to customise this script for our site.

    Does this script look at the name of folder x (which is assumed to be equal to the username) and give user x full control of the folder?

  9. #24

    Join Date
    Apr 2006
    Location
    Bamber Bridge
    Posts
    192
    Thank Post
    3
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    I've used ric's script this morning and customised it, BAINES is the name of his domain so you need to change that to yours, and ensure that staff is correct, ie ric uses staff, we use teachers.

    You also need to change the source location on the 4th line.

    Have to say to ric and all who made the script that it works brillantly, and i've been looking for something similar instead of having to do it manually!!

  10. #25

    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    114
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    19
    It may also be advisable to take the opportunity to tidy up permissions on the home folders (using xcacls.vbs as suggested above).

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Home Area Permissions
    By DSapseid in forum Scripts
    Replies: 15
    Last Post: 21st May 2012, 01:27 PM
  2. mac 10.4 user permissions
    By choran in forum Mac
    Replies: 6
    Last Post: 11th December 2007, 04:39 PM
  3. User areas + User share permissions.
    By Dos_Box in forum Windows
    Replies: 6
    Last Post: 11th September 2007, 11:17 AM
  4. Issues with new user accounts in an OU
    By Scruff in forum Windows
    Replies: 0
    Last Post: 7th September 2007, 10:12 AM
  5. User Permissions
    By stevef1 in forum Windows
    Replies: 7
    Last Post: 2nd July 2007, 03:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •