Comments (7)
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.
[deleted comment]
from pdsh.
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.
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.
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.
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.
sudo chmod 1755 /usr/local worked!
Original comment by [email protected]
on 9 Jun 2014 at 7:06
from pdsh.
Related Issues (20)
- option to remove .hostname when doing a rpdcp HOT 1
- Random pick in host list HOT 1
- Patch to add SLURM partition support to pdsh slurm module HOT 6
- Undesirable change in 2.28 when there is no host output. HOT 9
- genders: pdsh -X excludes more hosts than expected HOT 2
- allow mix of -P and -w in slum plugin HOT 4
- output to named file[s] HOT 2
- Output all exit codes to stdout HOT 4
- pdsh slow when using a few thousand hosts and genders HOT 2
- Header compatibility with slurm 2.6 HOT 1
- Use libgenders.a when compiling with --enable-static-modules HOT 5
- pdcp uses local absolute path to pdcp on remotes HOT 3
- Add lastest release to Download link HOT 1
- Torque module doesn't support job arrays HOT 1
- Change fanout at runtime HOT 4
- history file not written in Debian HOT 9
- Support in Centos7
- segfault in pdsh-2.29 read_wcoll() when file == NULL
- support multiple globs in host specification HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdsh.