[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #4236 [arm]: pwdx isn't available on OS X
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs