Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    drkdev is offline Registered User
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AFP mount + Chown/Chgrp respecting

    Hello all...

    Does anyone know how to make an AFP mount of home directories (/Volumes/users off of another server) so that any users doing an ssh login retain write permission to their individual folders, read-write permissions to folders chowned to appropriate group... and so that newly created files are done so with their own user name?

    Thanks for any suggestions.

    /shawn

    p.s. I am able to mount as a specific user, but any simultaneously logged-in user is not able to write into their own folder then (as the mount is done in the name of the other user). Mounting as 'admin' doesn't help. Mounting as 'root' isn't available (I can sudo mount... but not login as root.. but sudoing the mount doesn't help either ).

  2. #2
    Satcomer's Avatar
    Satcomer is offline In Geostationary Orbit
    Join Date
    Jul 2002
    Location
    Northern Virginia
    Posts
    8,888
    Thanks
    54
    Thanked 385 Times in 369 Posts
    Mac Pro Dual 2.8 Quad (2nd gen), 14G Ram, Two DVD-RW Drives, OS X 10.8.3
    2006 Mac Book Pro 2.16 (first Gen) OS X 10.7.4
    2TB Time Capsule, 2 TB
    32G iPhone 4S Black, iPad (3rd Gen) 32G Black

  3. #3
    drkdev is offline Registered User
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hiya Satcomer,.. and Thanks.

    As I understand, the mount through the SSH tunnel will be performed using whatever username is specified, in that post. This will mean that the resulting mount will cover the current mount meaning that any other users currently signed in, will lose write permission to their files (see the 2nd response in that posting... that 'Shawn' is me).

    We are going to try with NFS and cross our fingers.

 

 

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
  •