132 reputation
26
bio website
location
age
visits member for 2 years, 2 months
seen Dec 16 '13 at 4:36

Dec
16
accepted Where is Preview.app's .savedState?
Dec
8
revised Where is Preview.app's .savedState?
backticks
Dec
8
answered Where is Preview.app's .savedState?
Dec
8
asked Where is Preview.app's .savedState?
Nov
22
accepted Can't share the boot drive root dir with authorization for “everyone” set to “no access”?
Nov
22
comment Can't share the boot drive root dir with authorization for “everyone” set to “no access”?
Yup, I have confirmed that when you change the share permissions, the filesystem permissions change, and vice versa. That's surprising, but definitely answers the question.
Nov
21
asked Can't share the boot drive root dir with authorization for “everyone” set to “no access”?
Aug
13
awarded  Notable Question
Jan
16
awarded  Popular Question
Jan
8
awarded  Notable Question
Oct
16
comment Can you override app sandboxing, force app to use working directory?
I guess since the shell script inherits my current working directory, I don't have to mess with readlink or whatever. I can just specify the output filename, out.pdf. So in the end, my script is simply "open -a /Application/Preview.app out.pdf". Bash passes resolves the filename to the current working directory, and passes that to Preview, which is exactly what I want.
Oct
16
comment Can you override app sandboxing, force app to use working directory?
So actually I can't get this to work. readlink exits with "readlink: illegal option -- f". I'm on mountain lion 10.8, so maybe different versions of readlink accepted that option? Also using "stat -f" didn't work (the readlink man page suggested that alternative), actually it appears you have to include a format specifier with the -f switch, so I tried "stat -f "%N" filename", but that just outputs the filename, not the full pathname, so it still didn't work.
Oct
14
awarded  Scholar
Oct
14
accepted Can you override app sandboxing, force app to use working directory?
Oct
14
comment Can you override app sandboxing, force app to use working directory?
It's a good solution. Thank you. Can you tell me what the comman readlink does? I'm not familiar with it and the man page was hard to understand.
Oct
10
comment Can you override app sandboxing, force app to use working directory?
If it's not possible to force a Mac app to open files in the working directory instead of its sandbox directory, then perhaps forcing asymptote to pass the full pathname instead of just the filename to Preview would work. How to do that is of course a question for the tex community, not the mac community.
Oct
10
asked Can you override app sandboxing, force app to use working directory?
Sep
13
awarded  Popular Question
Aug
26
asked Is target disk mode a clean way to install (Mountain) Lion on a blank mac?
Jun
5
awarded  Student