Quoting Stephen P. Molnar, Ph.D. <s.molnar@sbcglobal.net>:
Thansk for the reply.
On Saturday April 30, 2005 02:07 pm, you wrote:
Quoting Stephen P. Molnar, Ph.D. <s.molnar@sbcglobal.net>:
Thanks for your reply.
Let me ask you a qestion.
I have one user, computation, on the machine in addition to root. I set the permissions on the /etc tree to computation.users, but the /bin directory, and hence both csh and tcsh are set root.root. Should this be changed, also. Or am I going about this incorrectly?
All directories in / should be root.root. Anything else weakens the protections built into Linux against hacking and accidents. For a directory, r-x permission says you can read it and list it, but not write it. The permissions below look fine, but change computation.users for /usr at least back to root.root.
What about the remainder of the /usr file tree?
Ouch. Short answer, don't do that next time. As long as everything works, leave it alone. Attached is a compressed list of non-root.root files and directories in /usr. (Only in private reply.) This is for SuSE 9.3 beta3, not the final version and you will probably not have all these files because you don't have the same packages installed.
What does "ls -l /bin/tcsh" say?
computation@abnormal:/> ls -l /bin/tcsh -rwxr-xr-x 1 root root 324436 2005-03-22 12:52 /bin/tcsh
Looks good. What about the suggestion below?
Also try "/bin/tcsh ./get-dockings". This bypasses execute permissions on get-dockings. Also try tcsh with the -n (parses but does not execute), -x (echo command immediately before execution) and -v (echo command after substitution) options. These options work for most shells (I know they work for Bash).
HTH, Jeffrey