+ Post New Thread
Results 1 to 7 of 7
Mac Thread, mac 10.4 user permissions in Technical; After a recent rebuild of 10.4 and Open Directory an engineer could only get the users to match up with ...
  1. #1

    Join Date
    Feb 2006
    Location
    Essex
    Posts
    22
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    mac 10.4 user permissions

    After a recent rebuild of 10.4 and Open Directory an engineer could only get the users to match up with their homefolders correctly by resetting permissions. Now students can navigate to each other's folders. Does anyone know of a quick way to set permissions on a group of folders so only the user has access? I guess it will involve a username wildcard
    TIA

  2. #2

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55

    Re: mac 10.4 user permissions

    look at the AD-OD integration paper on the AFP548 website. They have a script at the end that supposed to assign permissions to each home dir if i recall correctly.

    I have not used it though so cannot comment on how it works. I just now its there. It may be what you are looking for...

    Let me know how it goes as i have had to do this this past week. I only have 250 users so assigning the permissions manually wasn't so bad.

    It sounds like he has propagated the everyone read-only on the share-point.

  3. #3
    gaz350's Avatar
    Join Date
    Jul 2007
    Location
    Rutland, east.leicestershire :P
    Posts
    579
    Thank Post
    47
    Thanked 49 Times in 41 Posts
    Rep Power
    27

    Re: mac 10.4 user permissions

    used passenger to make this script years ago, it works
    you'll need to change the permission on the chmod/chown sections + Volumes section to your liking.

    Code:
    #!/bin/sh
    for i in /Volumes/change/*
    do
     u=`echo $i | cut -d/ -f5`
     case $u in
      Shared)
       ;;
      Temporary)
       ;;
      *)
    sudo /usr/sbin/chown -R $u:admin $i
    sudo /bin/chmod -R 750 $i
    sudo /bin/chmod 550 $i
    echo $u
      ;;
     esac
    done
    
    
    exit 0

  4. #4

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55

    Re: mac 10.4 user permissions

    Quote Originally Posted by gaz350
    used passenger to make this script years ago, it works
    you'll need to change the permission on the chmod section + Volumes section to your liking. will also need to change the /Volumes section too obviously.

    Code:
    for i in /Volumes/change/*
    do
     u=`echo $i | cut -d/ -f5`
     case $u in
      Shared)
       ;;
      Temporary)
       ;;
      *)
    sudo /usr/sbin/chown -R $u:admin $i
    sudo /bin/chmod -R 750 $i
    sudo /bin/chmod 550 $i
    echo $u
      ;;
     esac
    done
    
    
    exit 0
    Where did you get passenger from. Did you purchase it through your school?

    I have been looking at where to purchase this app from for a while and our school does not have a credit card so i cannot purchase online.

    I need to find a UK reseller that accepts school orders.

  5. #5
    gaz350's Avatar
    Join Date
    Jul 2007
    Location
    Rutland, east.leicestershire :P
    Posts
    579
    Thank Post
    47
    Thanked 49 Times in 41 Posts
    Rep Power
    27

    Re: mac 10.4 user permissions

    got it on our own card and then claimed it back after getting permission from finance

  6. #6

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55

    Re: mac 10.4 user permissions

    I don't own a credit card anymore since the last big bill I managed to rack up. I am also reluctant to purchase any thing on line at the moment as the fraud seems to be getting pretty rife at the moment.

    It seems that the security on some servers at the moment and the odd inland revenue cd out and about is a concern.

  7. #7
    manxdan's Avatar
    Join Date
    May 2007
    Location
    Isle of Man
    Posts
    43
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    15

    Re: mac 10.4 user permissions

    If the home folders are on an OD sharepoint you can just use Passenger's Batch Permissions feature. Works a treat (uses ~ for username in the filepath). Passenger is shareware, use now pay later.

    http://www.versiontracker.com/dyn/moreinfo/macosx/11121

SHARE:
+ Post New Thread

Similar Threads

  1. User drive permissions and ownership
    By OutLawTorn in forum Scripts
    Replies: 0
    Last Post: 30th November 2007, 12:15 AM
  2. SIMS User Groups and Permissions
    By messedupeffect in forum MIS Systems
    Replies: 5
    Last Post: 13th November 2007, 04:02 PM
  3. User areas + User share permissions.
    By Dos_Box in forum Windows
    Replies: 6
    Last Post: 11th September 2007, 11:17 AM
  4. User Permissions
    By stevef1 in forum Windows
    Replies: 7
    Last Post: 2nd July 2007, 03:32 PM
  5. Outlook and user permissions?
    By Jake in forum Windows
    Replies: 7
    Last Post: 6th March 2007, 01:05 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
  •