We have two users, each on their own Mac, and we need to give user2
access to one of user1's directories. I put both those users in a
unique group, chgrp'ed that directory and all its files to that group
with group write permissions. I then put a symbolic link in user2's
$HOME on user1's machine, pointing to that directory for easy access.
This all works fine if user2 is sitting in front of user1's machine (or
logs in with ssh).
I also tried replacing the symlink with an alias, but that didn't work.
When I double-click the alias remotely, I get:
"The volume for shareddir can not be found. Insert the volume for
shareddir and wait for it to appear on the desktop"
I can't use the Public directory because I don't want these files to be
read or written by just anyone.
What should I do? I assume it's a common need to have people
collaborate on a project and have access to the same files.
I've tried everything I can think of so I need some new ideas.
Thanks.
Inverter - 23 Aug 2005 08:21 GMT
Jim Gottlieb Wrote:
> We have two users, each on their own Mac, and we need to give user2
> access to one of user1's directories. I put both those users in a
> unique group, chgrp'ed that directory and all its files to that group
> with group write permissions. I then put a symbolic link in user2's
> $HOME on user1's machine, pointing to that directory for easy access.
Before starting: Depending on what kind of data you want to share
setting up a version control repository like subversio
http://subversion.tigris.org/ might be better than a shared folder...
One note on the permissions: Unless you made your new unique group th
primary group of the two users you will probably need to do a 'chmo
2770' on the directory - the leading 2 will ensure that all files ar
in fact created with the gid of the directory so that both users ca
change them.
How I would solve the problem: Create a 3rd user for the shared files
give both persons the password of that user (so that they can wor
locally or via AFP as that user). You can then still set up the grou
permissions that the person working locally can work as himself an
write to the shared folder.
Why I like that solution better than sharing a sub-folder of user1:
prefer 'chmod 700' on my home directories, nobody should be allowe
in.
Hope this helps.
Inverte
--
Inverte
--
ipod 4g 20gb
mac mini 1.42ghz/80gb/1gb
powerbook 15\"/1.25ghz/80gb/1g
macosx.com - The Answer to Mac Support - http://www.macosx.co
Tom Stiller - 23 Aug 2005 11:57 GMT
> We have two users, each on their own Mac, and we need to give user2
> access to one of user1's directories. I put both those users in a
[quoted text clipped - 18 lines]
>
> I've tried everything I can think of so I need some new ideas.
Are the user IDs of the users match across the two systems? That is,
does user2 have the same user id on user1's system as he does on his
own? How is user1's filesystem mounted on user2's machine?

Signature
Tom Stiller
PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
Jim Gottlieb - 23 Aug 2005 20:38 GMT
>Are the user IDs of the users match across the two systems?
Yes. Both the UIDs and the GIDs are the same.
>How is user1's filesystem mounted on user2's machine?
With an afp login.
Tom Stiller - 23 Aug 2005 20:21 GMT
> >Are the user IDs of the users match across the two systems?
>
[quoted text clipped - 3 lines]
>
> With an afp login.
Here's what works for me. My wife and I are each members of a group
(therapy) and we have a subfolder (patients) in the Users folder. I
have used SharePoints (donationware) to configure the patients folder to
be R/W by members of group therapy and no access to others. When I
mount the remote disk, patients shows up as a mount point.
If you don't want to go that way and you're running Tiger, you might use
the new Access Control List feature to specify what directories and
files are visible to each user.

Signature
Tom Stiller
PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF