Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'My fault...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
My fault...
Authored by: Ptitboul on Sep 26, '03 11:40:37AM
Oups, you are right. I forgot that my shell is zsh instead of the default tcsh... The following should work for you: printf '#\!/bin/sh\numask 002\nexec $0.bin\n'. By the way, this line only creates a file named iPhoto that contains
#!/bin/sh
umask 002
exec $0.bin
Another remark: you should probably use the following file instead, because it keeps the command line arguments of iPhoto, in case they are useful... But it works without arguments.
#!/bin/sh
umask 002
exec $0.bin "$@"
By the way, be careful with this hint. It is probably incompatible with Apple updates of iPhoto.

Last remark. I don't understand why Apple did not choose to create a new gid for each user, and to have a default umask 002. Unix groups are much more useful with this setting.

[ Reply to This | # ]

This is something I've wanted but..
Authored by: riktexan on Sep 26, '03 12:34:57PM

...are these commands done in terminal? I'm just non-tech enough to not understand exactly where all this stuff goes. Also, does iPhoto end up working the same for either user or does this change put in something odd?
Thanks



[ Reply to This | # ]
This is something I've wanted but..
Authored by: andrew_zinn on Sep 26, '03 01:02:45PM

Yes, they are UNIX commands entered using Terminal. I did a Google search for "share iPhoto libraries" and the first hit was this link, which describes another way to accomplish the goal without using the command line:

http://www.malcolmadams.com/itunes/itinfo/sharedlib.shtml



[ Reply to This | # ]