On 12/4/13 11:38 PM, Mark D. McKean wrote:
> Out of curiosity, I installed "tornado" today, and when I tried to run it, 
> bash told me I didn't have permission. The permissions and ownership 
> post-install appear as:
>
> ---x--S--x games games
>
> (Oddly, Path Finder shows the permissions as ---s--S--s (101) instead of 
> ---x--S--x. PF's Effective Permissions table shows that I should be able to 
> execute it, as it is set to other-executable.)
>
> I checked the install script in the .info file, and it indeed does explicitly 
> chown it to games/games and chmod to 2101. This is different from pretty much 
> everything else in /sw/bin, which are all set to root/admin and 755 
> (-rwxr-xr-x or lrwxr-xr-x).
>
> So my question is: Is there a specific reason this is set up with this 
> ownership and permissions? I'd guess that my inability to run the file is due 
> to it not being other-readable, but that's just a guess--I'm still relatively 
> green on Unix, and there's a lot of subtleties I don't get yet. Would it 
> cause any problems if I chown'ed it to root/admin and chmod'ed it to 755, 
> matching everything else fink has installed?
>
> Mark D. McKean
> qpa...@quantumpanda.com
>
>

It works here on 10.9.

I'm guessing that the package actually needs those particular 
ownership/permissions set, or the .info file wouldn't do that.  We 
normally try to avoid that sort of thing.

My guess is that you missed the message from the "passwd-games" package 
which is a dependency of tornado, and you don't have a games user/group:

Setting up passwd-games (20131113-1) ...

...

You may experience problems later on if you don't add this information.
Add the entry now? [Y/n]

Use "fink reinstall passwd-games" and make sure to install the games user.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to