LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-16-2003, 03:44 AM   #1
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Rep: Reputation: 30
Permission help again


hey guys...

i want to install ut2003 so i mkdir /Games directory and a /games dir. How do i deleted the /games dir? and also.... when i try to install ut2003 into that folder it says "no write permissions"
so i tried
chmod -r +x /Games = no go
chmod +x /Games = No go

what do i need to type?
 
Old 11-16-2003, 05:21 AM   #2
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
heres another problem.... i cant install ut2003 it says please mount the cd drive.. but the cd is already installing the game... ive used it all day.. nowi cant mount or unmount it... BAH!!!

Password:
[root@x1-6-00-4c-69-6e-75-79 joe]# cd ..
[root@x1-6-00-4c-69-6e-75-79 home]# cd ..
[root@x1-6-00-4c-69-6e-75-79 /]# cd ..
[root@x1-6-00-4c-69-6e-75-79 /]# cd /mnt/cdrom/
[root@x1-6-00-4c-69-6e-75-79 cdrom]# unmount /mnt/cdrom/
bash: unmount: command not found
[root@x1-6-00-4c-69-6e-75-79 cdrom]# cd ..
[root@x1-6-00-4c-69-6e-75-79 mnt]# unmount /mnt/cdrom/
bash: unmount: command not found
[root@x1-6-00-4c-69-6e-75-79 mnt]# mount /mnt/cdrom/
mount: permission denied
[root@x1-6-00-4c-69-6e-75-79 mnt]# chmod +x /mnt/cdrom/
chmod: changing permissions of `/mnt/cdrom/': Read-only file system
[root@x1-6-00-4c-69-6e-75-79 mnt]# mount /mnt/cdrom/
mount: permission denied
[root@x1-6-00-4c-69-6e-75-79 mnt]# mount /mnt/cdrom/
mount: permission denied
[root@x1-6-00-4c-69-6e-75-79 mnt]#
 
Old 11-16-2003, 07:42 AM   #3
MicahB
LQ Newbie
 
Registered: Nov 2003
Location: Orange County / California
Posts: 3

Rep: Reputation: 0
chmod +w /Games

or even

chmod 600 /Games

and as far as un - mounting a drive. The command is umount (theres no n after the u)
Also Make sure your not in the directory that your trying to umount.


[root@x1-6-00-4c-69-6e-75-79 /]# cd /mnt/cdrom/
[root@x1-6-00-4c-69-6e-75-79 cdrom]# unmount /mnt/cdrom/ notice how your inside the directory?
 
Old 11-16-2003, 07:45 AM   #4
MicahB
LQ Newbie
 
Registered: Nov 2003
Location: Orange County / California
Posts: 3

Rep: Reputation: 0
oh ya, and to remove a dir try

rm -Rf /directory/to/remove

the R stands for Recursive, meaning if it has any subdirectories inside it will delete them to. The f stands for force?...i think
 
Old 11-16-2003, 06:18 PM   #5
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
thanks man ill try it
 
Old 11-17-2003, 12:13 AM   #6
x4n0b1
Member
 
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
Quote:
Originally posted by iLLuSionZ
[[root@x1-6-00-4c-69-6e-75-79 cdrom]# unmount /mnt/cdrom/
bash: unmount: command not found
[root@x1-6-00-4c-69-6e-75-79 cdrom]# cd ..
[root@x1-6-00-4c-69-6e-75-79 mnt]# unmount /mnt/cdrom/
bash: unmount: command not found
[/B]
i got it, you're a bit messed up now
it should umount, right?
 
Old 11-17-2003, 01:56 AM   #7
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
yeah i guess lol

i havent tried it yet.. im trying to d/l a ton of movies and stuff... im in xp now.. why dont wine work with kazaa?

also... does excursion irc work with wine? or is there a linux version?

whats a good irc cleint for downloading in linux?
 
Old 11-18-2003, 05:00 AM   #8
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
ok, im tryin to install ut2003

i get to the part of "please mount the UT 2003 play disk CDROM"

i dont have a play disk... only 1,2 and 3

and also ive been #umount /mnt/cdrom2 (this is the cdrom the disk is in)
then #mount /mnt/cdrom2

and this does nothing....

im confused
 
Old 11-22-2003, 08:47 PM   #9
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
ok... it took me an hour to find this post but ive been yelled at for making new threads so.. .

i cant seem to understand this permisions stuff. .. heres a few scren shots . . ive tried to type it in manually and tried the security permissions menu in mandrake 9.2.

http://hardwarewiz.com/forums/attach...s=&postid=7574
http://hardwarewiz.com/forums/attach...s=&postid=7575
 
Old 11-22-2003, 09:09 PM   #10
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
A few things that will save you time.. you don't need the - after su
Don't bother typing in all the path, use either ./ or `pwd` with the `s
Try doing this..
chmod a+rxw ./ && stat ./

in stat it should say..
Access: (0777/drwxrwxrwx)

777 means read write and execute for all
First time learning, it's better to use the letters rather then the numbers, until you get used to it all
That should fix it

Last edited by teval; 11-22-2003 at 09:11 PM.
 
Old 11-23-2003, 03:17 AM   #11
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by teval
[B]A few things that will save you time.. you don't need the - after su
Don't bother typing in all the path, use either ./ or `pwd` with the `s
i dotn understand what your saying about this... lets say i want to get to /usr/share/xmms/skins
i tried typing ./xmms/skins and it didnt work




Try doing this..
chmod a+rxw ./ && stat ./

Thanks alot man... ive asked this question for like 2 months and your the first person to actually get it to work thanks... will that work for any file or folder?
what do i do for a file?
i went to that folder and typed chmod a+rxw ./ && stat ./ and i could write to it but theres been files that were locked....
i hate permissions
 
Old 11-23-2003, 09:25 AM   #12
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
By the first thing I meant..
If you are in a folder and want to act on it, like.. say you are in /usr/src/linux and you want to chmod it, don't type the path in again. Use ./ or `pwd`
It works for any folder you are in right now
For files do:

ls -1 -b|xargs -n1 chmod a+rxw

That will chmod all the files in the directory you are in to make them writable and readable, and executable.

chmod a+rxw ./ && stat ./

You can take the && stat ./ off. That was just to see if they are really changing permissions.
With stat you can check the permission of a file, and a lot of other neat things:
stat <name or directory>

You'll stop miding them when you are used to them
 
Old 11-23-2003, 09:35 AM   #13
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
thanks alot man... .
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
Why don't I have permission ben_h_24 Linux - Newbie 19 09-17-2005 01:51 PM
how to have permission? jesusphreak Linux - Newbie 4 01-23-2005 06:12 AM
Permission Infinite_Pizza Linux - General 5 04-20-2004 10:40 PM
permission help! beautifulmind Linux - General 1 07-24-2002 04:21 AM


All times are GMT -5. The time now is 03:50 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