LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-11-2003, 05:55 PM   #1
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Rep: Reputation: 16
Question don't have premissing


I'm tring to extract a file using tar-zxvf <filename>.tar.gz. The first time i got the user isn't something 1000 uid. So i created a user with a uid of 1000 then i went to extract the file again but i got the message "user don't have premission" or something like that. I then tried it as root and the message came up "you don't have a 1000 uid". I really need some help with this one

the file i'm tring to extract is wireless_tools.25.tar.gz.
 
Old 05-11-2003, 06:01 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What user are you trying to run it as and what permissions are on the file:
ls -l /path/to/<filename>.tar.gz
 
Old 05-11-2003, 06:45 PM   #3
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
ok I'm tried to do it as root and as Lashaun ( which is the only user i created besides the other user with 1000 uid )

this is the information i got when i ls -l the file

[lashaun@localhost lashaun]$ ls -l /mnt/win_d/Linux\ stuff/wireless_tools.25.tar.gz
-rwxrwxrwx 1 root root 102568 May 7 16:47 /mnt/win_d/Linux stuff/wireless_tools.25.tar.gz*

It's say's root but i did it as root and got the message do not have premission.

I even tried tar -xvfo <filename>.tar.gz
tar -zxvfo
and tar -zxvfp

no luck

Last edited by Peingune; 05-11-2003 at 06:47 PM.
 
Old 05-11-2003, 07:30 PM   #4
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
copy that file to the user home directory and try to untar it

i think as you are trying to untar it in the /mnt partition it is not giving you the permission as it is the windows partition

its just a hunch, but try and copy it and try the command
 
Old 05-11-2003, 09:20 PM   #5
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
LOL

LOL ROFL.... thank you. It's amazing that no matter how hard you look the problem is still under your nose and i just proved it LOL. Thank you again and anyone else who posted.
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 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
Open Source Consulting | Domain Registration