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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to migrate my kmail setup from a desktop to my laptop. I have succeeded in moving all the files and getting the ownership and permissions right I think except for what seam to be account spec files for the servers relating to each email account. Some of the files I had to take possession of as root to be able to copy them to the laptop and the chown -R user:user /a/dir to be able to have kmail on the laptop use them.
The file names for the ones I can't move to the laptop look something like
I have taken possession of these files as root on the desktop and save them to a shared folder that I can access from the laptop. From the laptop I can select the files but when I try to save them on the laptop I get an error message that says access denied. This is the root account how come access is denied?
I have looked on google but I didn't find where anyone else was having this problem.
What am I missing?
It must be one of those stupid things. I did spend an hour or so trying to mount my bluetooth adapter as my thumb drive today. Then I noticed I had the wrong usb thingy in my hand. Duh. Boy do I feel stupid.
I have tried to copy these files onto a usb thumb drive (windows format) and the desktop system won't let me. I can however copy them where ever I want to on the desktop. Still no success copying these (desktop)root owned file to the laptop with the (laptop)root account.
I do understand, I think, about the thumb drive because it's file system has no way to preserve the r/w bits for the files.
Still puzzled as to why the (laptop)root account, which can read the files on the desktop, can't save them on the laptop?
Although I can see the files from as a normal user I can't open them. They are owned by root, must be why. The permissions are reported as [-rw--w--w-]. I can change these on the desktop from root but not from the laptop. I am unable to look at the contents (they are just text files) from root either.
I need a . at the end? Never saw that before. I did a little looking on google and looked at a couple of other examples and came to the conclusion that I should be doing this from the desktop and not the laptop where the files needed to end up and I had immediate success without a . at the end.
Thanks again Tinkster for pointing out scp to me. It worked very well. I recopied all of the files for kmail again just to be sure. I did notice as I was looking over the files while chown'ing them that some of them were still owned by the laptop user from the previous attempts. Not a complete overwrite?