Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to extract an archive using tar xvzf, for installing an aureal sound driver. I keep getting a message "Cannont change ownership to uid 1000, gid 1000, operation not permitted." I'm sure this is easy to fix, but I can't figure out how to do it! I am really new to this! I got it to work a few installations ago,so this is really frustrating to me! I'm using Mandrake 7.2. Could someone out there help me?
I would guess that the tarfile was created with user 1000 and group 1000. When you try to extract the file the permissions on the directory are not allowing you to change the uid or gid to 1000. I tried to recreate the error, but I was unsuccessful at getting the same error message. I only got permission denied error. So I may be wrong.
You should check to see what user on your machine is 1000. Check the permissions on the directory that you are extracting to. Also are you running as root? Try to extract the file as a normal user in some temporary direcoty. When a regular user extracts tarfiles it will not attempt to chown the files being extracted.
Thanks! It works! I think it is so cool how everyone helps each other here... You were right, it has something to do with the permissions on the dirictory I was trying to extract into. I don't really understand it yet, but I have sound now, so I'm encouraged to keep going with my changeover to Linux! One more question... can I delete the temporary files?
It's difficult to say without knowing how the install worked. I'd suggest renaming the directory to something else then reboot and make sure everything works; if so then delete away; if not then restore the directory name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.