Coder Social home page Coder Social logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Interesting. The check is there to ensure that modules loaded dynamically
into the pdsh binary are not from an untrusted source or a path that could
have been modified by an untrusted source.

To work around this you can install pdsh as the 'admin' user instead of 'root'
This will tell the pdsh binary that path elements owned by 'admin' 'root' or 
your
uid are ok.

If you are not able to reinstall pdsh as the admin user, then you can rebuild 
pdsh
without the _path_permissions_ok() check in src/pdsh/pdsh.c.

Is this a linux laptop, or mac osx or something else?

Original comment by [email protected] on 15 Aug 2012 at 9:13

  • Changed state: Accepted

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
[deleted comment]

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
hi Mark,

I am running Mac OS X 10.7.3, Kernel Version:   Darwin 11.3.0. 

All the folders except the root one "/" in the path "/usr/local/lib/pdsh" is 
owned by "root " user.
$ ll -d /usr/local/lib/pdsh
drwsr-sr-x  14 root  wheel   476B Aug 15 14:01 /usr/local/lib/pdsh
$ ll -d /usr/local/lib
drwxrwxr-x  4 root  wheel   136B Aug 13 18:32 /usr/local/lib
$ ll -d /usr/local
drwxr-xr-x@ 11 root  wheel   374B Aug 13 18:32 /usr/local
$ ll -d /usr
drwxr-xr-x@ 13 root  wheel   442B Jun 26 13:20 /usr
$ ll -d /
drwxr-xr-x  42 admin  admin   1.5K Jul  6 14:12 /

So I have not reinstalled pdsh, just changed the owner of pdsh and pdcp to 
admin and set sticky bit on them:
ll /usr/local/bin/pdsh /usr/local/bin/pdcp 
-rwsr-xr-x  1 admin  wheel   152K Aug 15 14:01 /usr/local/bin/pdcp
-rwsr-xr-x  1 admin  wheel   152K Aug 15 14:01 /usr/local/bin/pdsh

Now it works with modules.
Thank you!

Original comment by [email protected] on 15 Aug 2012 at 11:08

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Ok, great!

Original comment by [email protected] on 15 Aug 2012 at 11:57

  • Changed state: Fixed
  • Added labels: Type-Other
  • Removed labels: Type-Defect

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
If possible, could you remove my name from my first comment. I forgot to clean 
up the shell output posted there.
Thanks!

Original comment by [email protected] on 16 Aug 2012 at 2:02

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Unfortunately the comment text from the original issue report can't be modified 
(afaik) with google code. Sorry! :-(

If I figure out a way I can delete the original report or modify it.

Original comment by [email protected] on 16 Aug 2012 at 3:38

from pdsh.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
 sudo chmod 1755 /usr/local worked!

Original comment by [email protected] on 9 Jun 2014 at 7:06

from pdsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.