Mailinglist Archive: opensuse (2272 mails)

< Previous Next >
Re: [opensuse] Installation methods
  • From: J Sloan <joe@xxxxxxxxxx>
  • Date: Sun, 04 Feb 2007 16:04:54 -0800
  • Message-id: <45C674A6.20506@xxxxxxxxxx>


Kenneth Schneider wrote:
> On Sun, 2007-02-04 at 15:29 -0800, J Sloan wrote:
>> Doug McGarrett wrote:
>>> On Sunday 04 February 2007 15:24, Rajko M. wrote:
>>>> On Sunday 04 February 2007 13:04, charles buchanan wrote:
>>>> ...
>>>>
>>> You can't run a program from the directory it's in. That seems to be a UNIX
>>> no-no. Back up one directory, and run the command
>>> with /directory/install...etc. I know it's goofy, but that's UNIX--and
>>> Linux. In this case, the "directory" is /username.
>> Eh? In unix, you can run a program in any directory, from any directory, no
>> limits, whatsoever.
>>
>> If the program is not in the path (regardless of what directory the program is
>> in, or your current directory) simply use the full path to the program.
>>
>> For Example:
>>
>> If the file "install.sh" is in the current directory, simply type:
>>
>> ./install.sh
>>
>> "." means the current directory in unix speak.
>>
>> You may need to chmod 777 install.sh first, if it's not executable.
>
> Actually 555 would do. the modes are rwx where r=4, w=2 and x=1. Add
> them together for the total. The minimum needed to run a file (script)
> is r_x=5, you need the ability to Read the file and eXecute it.

Of course - 755 is most common, I was in noob mode for some reason.

Joe
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >