Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > mount_afp 10.5 permissions ????

mount_afp 10.5 permissions ????
Thread Tools
rkv
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Nov 24, 2007, 12:23 PM
 
Under 10.5.1 I have an external disk raid array which is physically attached via firewire to PPC G5 machine "A" and I am trying to mount it from an intel client node, machine "B" also running 10.5.1. I can share the volume just fine from finder. However, I'm trying to mount the remote drive from a shell script using mount_afp which will run at startup.

Since the "B" machine is used by several users using fast user switching, I want to mount it once at startup and have all users have read and write access to the volume. The disk has the correct permissions when mounted on Machine A, that is an ls command shows it is drwxrwxrwx or from Get Info "Read & Write" for owner, group, everyone. Get Info is also showing it as a shared folder. And lastly, when connected via finder shared "connect as" the volume will mount on machine B as the owner of whomever connected to it, but with permissions as set on Machine A. That is drwxrwxrwx or "Read & Write" for owner, group, everyone.

However, when I try to mount the volume using mount_afp either via terminal or in a shell script, the volume mounts with the uid of whomever I ran the script as, root or a user, but with privileges of drwx______. That is only the user which executed the mount command having Read & Write access to the volume and all other users being excluded. This is problematical because the users of machine B use fast user switching to change freely between respective users.

The client machine is principally accessed by young children so I don't want to be popping finder windows on login for the mount, thus my desire to have this happen as a script at machine startup. I have browsed various forums and don't seem to be able to find anyone else mentioning this problem.

Any suggestions as to how to make a remote volume accessible to all users on a client node without their having to interact with a finder window and without a finder window popping up on their desktop as a login item would do?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:32 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2