How can I set permissions on shared source files?
How can I set permissions on shared source files?
- Subject: How can I set permissions on shared source files?
- From: Julian Vrieslander <email@hidden>
- Date: Thu, 29 Jul 2004 16:21:36 -0700
- Fnork: garbanzo
This may be a trivially simple issue. But I do not have a unix background,
and our (usually-unix-savvy) sysadmin was stumped, too.
I need to share some Xcode projects with colleagues in the same office. My
first idea was to put copies of the project folders in my public folder
~/Public/Projects/
Colleagues log into my Mac as guest, and copy the files to their own Macs.
But the files still have permissions set to (-rw-r--r--), with me as owner.
Before they can edit them in Xcode, they have to change the permissions. Is
there a simple way to get around this?
One idea is to configure the ~/Public/Projects/ folder so that when files
and folders are dropped into it, they take on unrestricted permissions
-rwxrwxrwx. I tried twiddling the permssion bits on the folder with the
Finder's "Get Info" window. Did not work. Our sysadmin suggested some
terminal commands
chmod -R o+rw ~/Public/Projects/
chmod -o+S ~/Public/Projects/
Did not work.
A google search found other people asking the same question, and some
suggestions to use an Applescript Folder Action. But there are reports that
this is unreliable, since Folder Actions (allegedly) do not detect changes
within folders nested below the monitored folder.
Sysadmin also suggested creating a group for all the people using these
projects. But wouldn't that require me to change the permissions on all the
files that I share? I could edit my umask, but that would affect ALL the
files I create, and I don't know if there are security implications to that.
How do other folks deal with this? Maybe version-control systems help with
this issue, but that's probably way too much complexity for us - we have all
we can handle, just trying to learn unix, OS X, and Xcode.
--
Julian Vrieslander <email@hidden>
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.