[tor-bugs] #4236 [arm]: pwdx isn't available on OS X
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Oct 15 12:10:58 UTC 2011
#4236: pwdx isn't available on OS X
-----------------------+----------------------------------------------------
Reporter: Sebastian | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: arm | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
When starting arm and connecting to a tor process that used a relative
path for torrc, arm complains it can't find the torrc:
{{{
[ARM_WARN] Unable to load torrc (querying tor's pwd failed because the
pwdx call failed: 'pwdx' is unavailable)
}}}
Instead, on OS X you can use this (quite possibly something more elegant
is possible too, but didn't see it in lsof's manpage at first glance):
{{{
lsof -a -p $PID -d cwd -Fn | cut -c2- | grep -v $PID
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4236>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list