On Friday, November 8, 2013 9:53:06 AM UTC-7, Nils Bruin wrote:

> Hm, would you mind posting the results of:
>
> $pwd
>
> and then the permissions of all components, e.g.: if it's /home/user/sage
>
> $ ls -dl /home
> $ ls -dl /home/user
> $ ls -dl /home/user/sage
> $ ls -dl /home/user/sage/example_script.py
> $ ls -dl `which sage`
>
> You can apply some bijective map to the UIDs, GIDs, and directory names if 
> you think that's required.
>
> $ pwd
/GROUP_DIR/CODE_DIR/example_dir/example_dir2
$ ls -dl example_script.py 
-rwxrwxr-x  1 scott  RESEARCH_GROUP  196 Nov  7 10:53 example_script.py
$ dir=$(pwd); while [ ! -z "$dir" ]; do ls -ld "$dir"; dir=${dir%/*}; done; 
ls -ld /
drwxrwxr-x  3 scott  RESEARCH_GROUP  102 Nov  8 13:20 
/GROUP_DIR/CODE_DIR/example_dir/example_dir2
drwxrwxr-x  3 scott  RESEARCH_GROUP  102 Nov  7 10:43 
/GROUP_DIR/CODE_DIR/example_dir
drwxrwx--x  82 tyler  RESEARCH_GROUP  2788 Nov  8 13:20 /GROUP_DIR/CODE_DIR
drwxrwxr-x  32 amanda  RESEARCH_GROUP  1088 Nov 30  2012 /GROUP_DIR
drwxrwxr-x  44 root  _www  1564 Sep 21 22:35 /
$ ls -dl `which sage`
lrwxr-xr-x  1 root  wheel  71 Nov  4 16:23 /usr/bin/sage -> 
/Applications/Sage-5.12-OSX-64bit-10.6.app/Contents/Resources/sage/sage
 

> You might also want to see what kind of file system is mounted for this. I 
> think there are network file systems that keep track of permissions via ACL 
> and return garbage for unix permissions. That would definitely throw off 
> Jeroen's heuristic (and problems like this is why the python devs are so 
> reluctant to include a change like this)
>

I'm not positive what all of that means, but the computer it's on is a Mac 
OS X server running OS X 10.6, if that helps. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to