Re: File Sharing (again - sorry, Pd)
- From: dempson@xxxxxxxxxxxxx (David Empson)
- Date: Wed, 27 May 2009 12:32:25 +1200
Jaimie Vandenbergh <jaimie@xxxxxxxxxxxxxxxxxxxxx> wrote:
On Tue, 26 May 2009 21:55:51 GMT, Martin S Taylor
<mst@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Jaimie Vandenbergh wrote
That sounds likely. How do I find what the umask is set to, and how do I
change it?
InTerminal, type umask. It'll come back with your current umask,
probably 0222, whereas what you want is 0022.
Both my umask and valentina's are 0022. But if I want her to have write
access, shouldn't it be 0002?
Whoops. Sorry, I was mixing my things (command line umask vs NSumask,
which doesn't include the leading special octal). You want 002, as you
thought.
But FFS, do I have to do all this just to get someone to edit a file on my
disk? Is there something corrupt on my disk? Is it this difficult for
everyone or is it just me and Pd?
Everyone. Apple made a bizarre decision to make people's user:group
membership username:username, ie individual groups per user, when in
Tiger they used to be the far more sensible username:staff or some
other such shared group. So you have that to fight against too.
It is more subtle than that, and you're mixing up versions.
Back in the good old days (Jaguar and earlier), Mac OS X user accounts
were created in the "staff" group.
In either Panther or Tiger, Apple changed the system so that newly
created accounts were set up with their own unique group, which has the
same name and gid as the user.
This only applies to newly created accounts - an account migrated or
upgraded from an older system version retained the old group assignment
(staff).
Leopard has reverted back to the old system. Newly created accounts in
Leopard are in the staff group again, but accounts migrated or upgraded
from Tiger will retain their previous group assignment.
Martin might be able to solve the problem by recreating the user
accounts so the new ones are both in the same group (staff), or by
changing the group assignment for the existing accounts and doing a bulk
chgrp to keep everything in sync.
I'll have more to say on this thread when I have time to do a detailed
post.
The quick version:
The reason that the file permissions are "resetting" each time the
document is saved by Valentina is that the application in question
(Numbers) is creating a new document for each save operation, and it
isn't replicating the permissions from the original document. The
default permissions are being used.
Assuming everyone involved is running 10.5, the best way to solve this
problem will involve the use of ACLs (Access Control Lists) and a
specially configured folder which is set up so that all files created in
that folder inherit the ACLs from the folder. You can set up arbitrary
permissions for any number of users or groups, so the folder can be
configured to automatically assign the correct permissions so that both
users have read/write access to all files in that folder.
I've done this with a folder on Mac OS X Server and it seems to work
well.
Unfortunately Finder's permissions user interface is rather primitive
and only gives access to the Unix permissions and the simplest uses of
ACLs. Another tool will be needed to set up this up, and the only ones I
know about offhand are the Server Admin utility for Mac OS X Server
(which won't work for configuring permissions on a client edition of Mac
OS X), or the chmod command line tool (with some complex arguments for
managing ACLs).
Anyone know of a fully featured GUI tool which can display and modify
all the available ACL attributes?
--
David Empson
dempson@xxxxxxxxxxxxx
.
- Follow-Ups:
- Re: File Sharing (again - sorry, Pd)
- From: Martin S Taylor
- Re: File Sharing (again - sorry, Pd)
- From: Jaimie Vandenbergh
- Re: File Sharing (again - sorry, Pd)
- References:
- File Sharing (again - sorry, Pd)
- From: Martin S Taylor
- Re: File Sharing (again - sorry, Pd)
- From: Paul Russell
- Re: File Sharing (again - sorry, Pd)
- From: Martin S Taylor
- Re: File Sharing (again - sorry, Pd)
- From: Chris Ridd
- Re: File Sharing (again - sorry, Pd)
- From: Martin S Taylor
- Re: File Sharing (again - sorry, Pd)
- From: Jaimie Vandenbergh
- Re: File Sharing (again - sorry, Pd)
- From: Martin S Taylor
- Re: File Sharing (again - sorry, Pd)
- From: Jaimie Vandenbergh
- File Sharing (again - sorry, Pd)
- Prev by Date: Re: File Sharing (again - sorry, Pd)
- Next by Date: Re: The curse continues
- Previous by thread: Re: File Sharing (again - sorry, Pd)
- Next by thread: Re: File Sharing (again - sorry, Pd)
- Index(es):
Relevant Pages
|