* Re: Decstation 3100 not finding files
1994-04-27 21:16 Decstation 3100 not finding files R. D. Keys
@ 1994-05-04 19:11 ` paul rockwell
0 siblings, 0 replies; 2+ messages in thread
From: paul rockwell @ 1994-05-04 19:11 UTC (permalink / raw)
In article <2pmko2$nhr@taco.cc.ncsu.edu>, rdkeys@csemail.cropsci.ncsu.edu (R. D. Keys) writes:
|>I am having trouble getting something set right on our Decstation 3100.
|>
|>I have compiled a program from root that was installed in /usr/bin.
|>The problem is that it is accessable by root from anywhere, but
|>not users. The permissions are set for rwx on root and rx on
|>group and others. I would think that they should be found by
|>the users. But, they aren't.
Then either your user's path is incorrectly set up, or they don't have
execute access through all directories in the path to the executable.
First, Double check permissions of all directories in the hierarchy to /usr/bin.
Second, To see if the path is finding it, use the which command. For example, to
find out where the shell thinks a progam file is , use:
which program-name
The default .login that is installed in a user's directory by the
adduser command (found in /usr/skel/.login) does have /usr/bin on
the path. If you're adding a new user manually, or you're mounting
your home directories via NFS, then you need to check the home
directory's .login.
|>From my rather lowly unix background, users should be able to access
|>things in /usr/bin. The man command, for example is accessable by
|>all, and it has the same permissions as the new binary just intalled.
In ULTRIX, man is not is /usr/bin, it is in /usr/ucb.
|>It works fine on Linux, but why did DEC have to be different.....(:+{{...
Please don't go blaming Digital until you check for pilot errors - things like
the user's path and directories permissions.
|>My guess is that maybe something in the .profile or .login scripts is
|>not setting the paths correctly, but I don't see anything out of the
|>ordinary there.
|>
|>Any comments or suggestions are appreciated.
If I were you, I would put locally developed software in another directory
such as /usr/local/bin, (adding this to your path) and not in /usr/bin:
- What if Digital/SCO/HP/IBM/SUN/SGI, etc, released a new program in a new release of
UNIX with the same name as yours?
- By putting stuff in /usr/local/bin, you can easily place local stuff in
a well-known area without regard to how the vendor chose to organize the
UNIX directory structure.
|>Thanks.... Bob
|>rdkeys@csemail.cropsci.ncsu.edu
|>
|>
|>
--
--------------------------------------------------------------------------------
+---------------------------+tm Paul E. Rockwell
| | | | | | | | UNIX Sales Support Consultant
| d | i | g | i | t | a | l | Digital Equipment Corporation
| | | | | | | | P.O. Box 1030
+---------------------------+ Trumbull, CT 06611-0969
Internet: rockwell@sco.dec.com Phone: (203)452-6670
^ permalink raw reply [flat|nested] 2+ messages in thread