12.1 upgrade and permission issues

Upgraded from 11.3 to 12.1, KDE desktop. I have 3 partitions: suse, swap, & home. I formatted the suse partition but NOT the home partition.
This resulted in ownership problems and I have overcome most of them with chown. I still have a number of folders that show the owner as uid 1003 (my current uid is 1000 and there is no longer a user with an id of 1003.
If I use chown -R from /home will that cause any problems? Currently I’ve only created myself as a user.

I am having trouble getting kmail to talk to my pop3 server (on an os/2 machine). Is there a connection or transaction log somewhere, I don’t find anything in /var/log. Or can I somehow get kmail to log attempts to connect? It wouldn’t suprise me if this is a permissions issue but the files living at ~/.kde4/share/apps/kmail and kmail2 seem to have the correct permissions.

Thanks, Jon

Additional info. The machine name has changed to a randomly assigned name.
So I have files remaining in my home directory pointing to the prior name. Like cache-suse is not cache-linux-xyz.

Jon

You can change your UID with the terminal command:

**sudo /usr/sbin/usermod** **-u UID username**

You can change your username with the terminal command:

**sudo /usr/sbin/usermod -l login-name old-name**

Once you go down the road of half this and half that or worse being a root user, I am not sure what your best course of action might be.

Thank You,

On 2012-08-21 22:56, 6520302 wrote:
> Upgraded from 11.3 to 12.1, KDE desktop. I have 3 partitions: suse,
> swap, & home. I formatted the suse partition but NOT the home
> partition.

That’s not an upgrade, it is a fresh install reusing home. Yes, I’m picky on the subject.

> This resulted in ownership problems and I have overcome most of them
> with chown. I still have a number of folders that show the owner as uid
> 1003 (my current uid is 1000 and there is no longer a user with an id of
> 1003.

Next time tell the installer to import settings from the previous install.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

Repair first your permissions, let me assume your user name is xyz.


su -
chown -R xyz:users /home/xyz

replace all xyz here by your actual username.
Logout and login again to make sure all your gui apps and daemons are
restarted to access now the files which have the rights corrected.

To change your hostname


su -
echo suse > /etc/HOSTNAME

after next reboot (of course you can do without reboot, but I guess that
is a personal computer) your computers name will be reset to suse.

After that is resolved open a new thread about the kmail migration,
between 11.3 and 12.1 kmail switch from version 1.x to 2 which is a
major pain, I cannot help with that it is a completely different topic
to migrate your old mail and settings.


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.5 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

James:

Thanks for the usermod cmd. My problem is that I have the same user name as before but the UID for some files reflects the UID for my username in the prior install. IE: under suse11.3 my UID was 1003, now, under suse12.1 it is 1000. I’ll research the usermod command but I don’t believe in my situation it will help.

Thanks, Jon

Carlos:

I did tell the installer to import.

Thanks, jon

Martin:

Thanks for the info. I was uncertain if I would create a problem by making a global change to /home/xyz.

Thanks, Jon

On 2012-08-22 01:36, 6520302 wrote:
>
> Carlos:
>
> I did tell the installer to import.

There are two import places. One is to import the partition layout in the fstab file. Another is to
import the user definitions.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))