LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2005, 07:19 PM   #1
speedemonV12
Member
 
Registered: Jul 2005
Posts: 64

Rep: Reputation: 15
file permisions


Hi i am new to linux, but i catch on real fast, and i was working things around, and i came along some stuff that i was trying to move, but i can't, it wont let me move the files, like i want to move a style to /opt/kde3/share/apps/kstyle/pixmaps....and i cant move it. is this something that has to do with permisions, and if it is can you give me exact steps kuz i am new at this...


and also one more thing. how do i run a script. i have a theme and it says this

- Installation instructions -
Run the script ./install.sh for installation.
Run Control Center and select Look'n'Feel.
Select Style and then acqua in the style list. Click on Apply.
Select Window Decoration and then IceWM in the list. Select the Configure tab and then Acqua in the window decorations list. Click on Apply.
Select Wallpaper and then Acqua.jpg in the wallpaper list. Click on Apply.

but how do i run the script??? i dont know how...someone please help me

you can contact me on aim if you want -- speedemonF1

thanks
speedy
 
Old 07-18-2005, 07:50 PM   #2
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
The file is probably in a directory owned by root. Use the "su" command to switch to root and "exit" to return to being a normal user when you're done (but be careful with what you type while you're root, it's easy to mess up your system if you type the wrong thing). To run a script/program, you just type the name of it on the command line. For something like an install script, change to the directory where the script is, and type "./install.sh" (the ./ is an abbreviation for the current directory).
 
Old 07-18-2005, 08:08 PM   #3
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
Quote:
Originally posted by jrdioko
The file is probably in a directory owned by root. Use the "su" command to switch to root and "exit" to return to being a normal user when you're done (but be careful with what you type while you're root, it's easy to mess up your system if you type the wrong thing). To run a script/program, you just type the name of it on the command line. For something like an install script, change to the directory where the script is, and type "./install.sh" (the ./ is an abbreviation for the current directory).
And if the `install.sh' executable bit isn't set,

Code:
~# chmod 0700 install.sh
just a note...
 
Old 07-19-2005, 07:03 AM   #4
speedemonV12
Member
 
Registered: Jul 2005
Posts: 64

Original Poster
Rep: Reputation: 15
helpp

okay thanks for that bit, but how do i change the directory while in konsole...i am a newb with this part. if you give me the exact code to complete the command...

this is the directory of the install.sh

root folder/home/eric/153-acqua-3.2.tar.bz2/acqua-3.2

that is where the rest of the files are also.

please give exact code kuz i am a newb lol

thanks
speedy
 
Old 07-19-2005, 09:26 AM   #5
Robattack
LQ Newbie
 
Registered: Dec 2003
Location: Frankfurt, Germany
Distribution: mandriva2006 /dsl-2.0/gentoo-2006.0
Posts: 25

Rep: Reputation: 15
hi speedemonV12

moving trough the directory-tree works with the "cd" command (change directory).
so in your case, if you open up your terminal, you will be in your home-directory
/home/<username>

now type "cd 153-acqua-3.2.tar.bz2/acqua-3.2" and you are in this folder

now you can run "./install.sh" .

in general, cd .. --> one (relative) folder down
 
Old 07-19-2005, 09:38 AM   #6
Robattack
LQ Newbie
 
Registered: Dec 2003
Location: Frankfurt, Germany
Distribution: mandriva2006 /dsl-2.0/gentoo-2006.0
Posts: 25

Rep: Reputation: 15
grrr, wrong key ;-)

ok

cd .. --> one directory down
cd directory-name --> change in this directory, its relative, which means this directory has to be in the directory you are in at the moment
cd /path/to/any/directory --> its an absolute "path-way", which means its independent from where you are, and its starts with the "/" directory,

eg. for changing from /home/eric/ to /opt/kde3/ you can do

cd..
cd..
cd opt
cd kde3
or just cd /opt/kde3

to see the files, that are in this directory, use the ls command. ls -l, gives you a list and you'll see the permissions of each file and folder too. ls -al is nearly the same, but you will also the all hidden files (begins with an ".") to

sorry for my poor english, i hope you get the meaning ;-)
 
Old 07-19-2005, 10:10 AM   #7
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
you might find this link helpful:
http://www.ss64.com/bash/

titanium_geek
 
Old 07-19-2005, 10:44 AM   #8
Robattack
LQ Newbie
 
Registered: Dec 2003
Location: Frankfurt, Germany
Distribution: mandriva2006 /dsl-2.0/gentoo-2006.0
Posts: 25

Rep: Reputation: 15
and this one: ;-)

http://www.linuxcommand.org/learning_the_shell.php

Last edited by Robattack; 07-19-2005 at 10:45 AM.
 
Old 07-19-2005, 11:03 AM   #9
speedemonV12
Member
 
Registered: Jul 2005
Posts: 64

Original Poster
Rep: Reputation: 15
cool

alright thanks a lot guys i appreciate the help

speedy
 
  


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
smbmount is ignoring file permisions, I've searched, but have no answer lostboy Linux - General 6 10-15-2005 10:24 AM
permisions charnel Linux - General 3 07-10-2005 02:53 PM
file permisions on /.fluxbox e1000 Slackware 1 11-22-2003 05:30 AM
looking up file permisions starwind Linux - Newbie 1 10-15-2003 07:33 PM
Permisions ToeShot Linux - General 2 11-30-2001 12:53 AM


All times are GMT -5. The time now is 10:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration