LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-07-2008, 10:48 PM   #1
madwida
LQ Newbie
 
Registered: Oct 2008
Posts: 25

Rep: Reputation: 15
making script executable; getting no such file or directory


Hi

I am trying to install wicd via Slackbuilds.org. I have followed the how to and downloaded the tar.gz files to /home. When I try and make the script executable this is the output:

bash-3.1# chmod +x wicd.SlackBuild
chmod: cannot access `wicd.SlackBuild': No such file or directory

This is what the structure of the directory looks like:

file:///home/christian/wicd/doinst.sh
file:///home/christian/wicd/migration_14-15.sh
file:///home/christian/wicd/README
file:///home/christian/wicd/slack-desc
file:///home/christian/wicd/wicd-1.5.3.tar.gz
file:///home/christian/wicd/wicd.info
file:///home/christian/wicd/wicd.SlackBuild

I think I must be missing a step.

I should say that I am searching for answers before asking--as well as spending a lot of time trying over and over on my own--and thus really appreciate the help when I ask. As I learn this stuff it seems that I always miss some crucial step that might be obvious to someone more experienced.

Thanks
 
Old 10-07-2008, 10:54 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
are you in the /home/christian/wicd/ directory when you issue that command?
open a new terminal window and try this:
Code:
cd wicd
chmod 755 wicd.SlackBuild
 
Old 10-08-2008, 09:29 AM   #3
madwida
LQ Newbie
 
Registered: Oct 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by johnson_steve View Post
are you in the /home/christian/wicd/ directory when you issue that command?
open a new terminal window and try this:
Code:
cd wicd
chmod 755 wicd.SlackBuild
Hi

Thanks a lot--that did it! What does the 755 mean and how did you know to put that in the command?

Now all I have to do is figure out why my wireless is still not working. But I am getting closer.

Best wishes
 
Old 10-08-2008, 09:57 AM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
755 = everyone can read and execute but only the owner can write to the file. I know you can do it the new way with the letters but I prefer the old school Unix numbers system. the fist digit is for the owner the second is for the group and the third is for everyone else.

4 = can read file.
2 = can write file.
1 = can execute file. (or view contents if it's a directory.)

we want the owner of the file to be able to read, write and execute: 4+2+1=7. we want everyone else to be able to read and execute, but not write to the file: 4+1=5. so we get 755. the most common numbers I use are 755, 777, 644 and 666 (which means anyone can write to the file so it deserves this 'evil' number.)

Glad I could help. post a thread about your wifi; be sure to include as much info as you can including the output of 'lspci' 'lsusb' 'lsmod' the model of your card and distro.
 
Old 10-08-2008, 10:19 AM   #5
madwida
LQ Newbie
 
Registered: Oct 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the info. It's fun learning this stuff!

As for "post a thread about your wifi; be sure to include as much info as you can including the output of 'lspci' 'lsusb' 'lsmod' the model of your card and distro."

Will do. I am on my way out of the country and so will likely wait till I get back next week as I won't be able to work on it again. In the meantime, thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Store into a file the list of executable files of a system directory jianelisj Linux - Newbie 3 03-17-2008 01:26 PM
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-22-2007 12:43 AM
When an executable turned to a script file,...??! lucky6969b Programming 8 03-08-2006 03:26 AM
making a bash script file Berticus Linux - General 1 10-16-2005 12:14 AM
Pre-Build Executable "No Such File or Directory" problem Archeress Linux - General 2 08-17-2002 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration