LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-06-2009, 09:09 PM   #1
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Rep: Reputation: 15
Software install problem, cannot change ownership


I just bought a 4gig Eee PC and I'm having a problem installing ECMLInk (Car tuning software http://www.ecmtuning.com/downloads.p...4urgjcqsjh7u75)

The program is on a 2gig thumb drive.

I have tried su and then input password, sudo, chmod +x ecmlink_3_18_205_full.sh.

Then sh and just ./ecmlink_3_18_205_full.sh

Then it begins to unpack, then everything that is unpacking says "Cannot change ownership to uid 1002, gid 100: Operation not permitted."

And at the end it says "Error unpacking jar files. Aborting.
You might need administrative privileges for the operation."

Now I'm new to Linux so please bear with me.

I have read so many google searches, my head hurts.

With all the reading I've done, it seems I pretty much need to change ownership because of the fact that it's on that thumb drive, but I have no idea how to do that. I have tried many times in the/a shell, but I'm not sure what to do anymore.

I've seen some stuff on the /etc/fstab, but nothing works, not sure I'm even using the right shell or does it even matter?

Also, is there a way to see what Linux I have?

Thanks in advance and I hope this is in the right place.

Edit: I hit the back button and double posted, sorry. Please delete the other post if possible.

Last edited by DangerDave; 09-06-2009 at 09:17 PM.
 
Old 09-06-2009, 09:17 PM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
to know about the linux
Code:
lsb_release -a
it works for me.
 
Old 09-06-2009, 10:27 PM   #3
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mobinskariya View Post
to know about the linux
Code:
lsb_release -a
it works for me.
Ok now all I do is hit ctrl+alt+t, is this the correct shell to be doing this?

I tried it but all I got was "bash: lsb_release: command not found."

Sorry, but really new to Linux.

I know when I use the file manager, I can open up different shells.

Ex: When trying to install that program, I can open file manager and right click D: and then open console window. From there I can open different shells, but not sure which one I should be using.
 
Old 09-06-2009, 10:35 PM   #4
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
dont you know what linux you installed on your machine??or was it preloaded?
who is the owner of the .sh file??try
Code:
ls -l ecmlink_3_18_205_full.sh
..if you are not the owner try changing file ownership.
 
Old 09-06-2009, 10:44 PM   #5
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mobinskariya View Post
dont you know what linux you installed on your machine??or was it preloaded?
who is the owner of the .sh file??try
Code:
ls -l ecmlink_3_18_205_full.sh
..if you are not the owner try changing file ownership.
Linux came preloaded.

I have no idea who the owner is of the file. I don't even know how to check that. I don't know how to change the ownership. I have searched google and here but I'm not sure what to do or what to be typing. That is why I came here. I need help changing ownership. That chown and using/editing /etc/fstab just confused me. Like I said I'm new to Linux, any help would be great.

What shell should I being typing the code into?

How do I change ownership?

I've tried typing in some things but it always fails. I'm not sure what I'm doing.

Edit: I tried that code and this is what I got...
"-rw-rw-rw- 1 root root 23327894 2009-09-06 11:52 ecmlink_3_18_205_full.sh". And I have no idea what that means.

Last edited by DangerDave; 09-06-2009 at 10:46 PM.
 
Old 09-06-2009, 11:01 PM   #6
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
it is better to hightlight any code or output with # option provided..from the output you provided it is clear that the owner the file is root.. change the ownership using the command chown..it is really simple, just refer the manual by typing
Code:
man chown
change ownership by
Code:
sudo chown user:group ecmlink_3_18_205_full.sh

Last edited by mobinskariya; 09-06-2009 at 11:07 PM.
 
Old 09-06-2009, 11:11 PM   #7
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mobinskariya View Post
it is better to hightlight any code or output with # option provided..from the output you provided it is clear that the owner the file is root.. change the ownership using the command chown..it is really simple, just refer the manual by typing
Code:
man chown
change ownership by
Code:
sudo chown user:group ecmlink_3_18_205_full.sh
Edit: Ok I see the manual now, thanks. I'll be reading for a bit.

Last edited by DangerDave; 09-06-2009 at 11:12 PM.
 
Old 09-06-2009, 11:27 PM   #8
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Ok all that did was confuse me more.

Can someone give me step by step instructions.

This is what I got "sudo chown user:group ecmlink_3_18_205_full.sh
chown: `user:group': invalid group"

This is starting to drive me nuts.

What am I doing wrong?

How is that changing anything? Doesn't make any sense to me.
 
Old 09-06-2009, 11:30 PM   #9
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
you should substitute "user" and "group" with your username and groupname..
eg.
Code:
sudo chown myusername:mygroupname myfilename
since you are not the owner you cant change the file permissions for that file by chmod..

Last edited by mobinskariya; 09-06-2009 at 11:34 PM.
 
Old 09-06-2009, 11:34 PM   #10
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
How do I find out the group name? Or should I just change it?

Sorry guys, this is just getting to me. I have been trying for the past 3 days to get this working.

Edit: sudo chown SuperDave:group ecmlink_3_18_205_full.sh
chown: `SuperDave:group': invalid user

No matter what I put in group it still says invalid user.

Last edited by DangerDave; 09-06-2009 at 11:40 PM.
 
Old 09-06-2009, 11:41 PM   #11
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
to know username type
Code:
whoami
type to find group
Code:
groups
if you find a group same as username then give the same for groupname.

Last edited by mobinskariya; 09-06-2009 at 11:44 PM.
 
Old 09-06-2009, 11:53 PM   #12
catilley1092
Member
 
Registered: Aug 2009
Location: East Coast, USA
Distribution: Linux Mint "Mate" x64 (primary OS), Win 7/8 x64, XP Home/Pro x32.
Posts: 61

Rep: Reputation: 17
If all else fails, just get another install disc and start over. You will have a cleaner,leaner and meaner system. Unlike Windows, there are no license keys or validation to be concerned with. And at the beginning of install, you key in YOUR name, so ownership should be no problem.
 
Old 09-06-2009, 11:55 PM   #13
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
/media/D:> whoami
user
/media/D:> groups
user dialout cdrom floppy audio video plugdev users lpadmin

I'm sure I can use any one of those group correct?

Now when I change owner using "chown" should I be typing user for both?
 
Old 09-06-2009, 11:58 PM   #14
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
Code:
sudo chown user:user filename
i will better advise you to refer the command
Code:
info coreutils
for the basic commands..it will help you a lot.

Last edited by mobinskariya; 09-07-2009 at 12:00 AM.
 
Old 09-06-2009, 11:58 PM   #15
DangerDave
Member
 
Registered: Sep 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by catilley1092 View Post
If all else fails, just get another install disc and start over. You will have a cleaner,leaner and meaner system. Unlike Windows, there are no license keys or validation to be concerned with. And at the beginning of install, you key in YOUR name, so ownership should be no problem.
I did input my user name at the beginning with a password.

This is just the preloaded Linux, but I've already had to reinstall it. Again putting in a user name and password.

But the ECMLink program is on a USB drive because of the low space on the Eee PC.
 
  


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
Cannot change ownership jamaso Slackware 11 11-08-2010 11:01 AM
change device ownership ? thllgo Linux - Server 1 10-22-2007 05:10 PM
How to change ownership?(Atleast i think that is problem) centosfan Linux - Newbie 5 04-22-2007 04:07 PM
Change ownership apffal SUSE / openSUSE 1 11-09-2005 02:08 AM
change ownership Johng Linux - General 4 04-06-2004 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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