Red Hat Bugzilla – Bug 674617
torque.setup should be executable
Last modified: 2011-03-13 04:20:04 EDT
Description of problem: I think in the package torque the file /usr/share/doc/torque-2.4.11/torque.setup should be executable.
Version-Release number of selected component (if applicable): torque-2.4.11-1.fc14.x86_64
How reproducible: always
Steps to Reproduce:
1. # /usr/share/doc/torque-2.4.11/torque.setup root
-bash: /usr/share/doc/torque-2.4.11/torque.setup: Permission denied
This is a shell script so it sohould be chmod +x
The immediate answer is it should not be since it's a document.
but I'll take a look and if its useful, i confess I have never used it , I will move it else
where so it can be made +x.
I agree with you it is weird that this file is in the documentation and is a shell script.
I was trying to follow that tutorial to setup the pbs_nodes on my computers : http://dvbmonkey.wordpress.com/2009/02/27/getting-started-with-open-mpi-on-fedora
This is why I asked it to be executable but the Guidelines say the opposite. Perhaps should we notice upstream?
I took a look at the torque.setup.
I did add a README.Fedora which was my solution.
I don't think torque.setup should really be added in /usr/sbin or anything
mainly because you only ever run it once and it could actually break
If you want to run it just prefix it with
As for the web page it is referring to rather old 2.1.4 when I expect
the %doc was executable.
I would leave a comment on the blog page with the fix but it's hopefully
What do you think?
Consideringthe blog page things have changed since it was written like /var/torque changed into /var/lib/torque.
Considering the executable of this file I would think we stay as we are actually as it is in the guidelines of Fedora.
I totally agree not to put it in the /usr/sbin.
Thanks for taking your time to answer. You can close as not a bug.