HDD Rights

Hello, I’m using openSUSE 11.3 64.

And I have a dualboot system with Debian, how can I make both systems read and write ALL files on the computer?

openSUSE can’t open the Debian’s HDD and the other way round… how can I change that?

Thanks in advance,
Bubikopf. :slight_smile:

Chances are your account ids are different on the two systems. Look at your entry in /etc/passwd in both systems, in particular the UID.

You have to harmonise the UIDs and change the files to suit.

And what exactly do I have to do? I’ll try my best, thanks.

You have to make your UID on one of the systems the same as on the other, and you also have to change the ownership of every file and directory owned by that old UID to the new UID.

But first check that they are indeed different. In /etc/passwd on both systems, it’s the third field, the first numeric field.

Well… on both OSs, I chose the same user name, user password and root password.

Plus I don’t understand this list of whatever.

Ah, perhaps you need to do some reading about Linux principles first.

http://rute.2038bug.com/index.html.gz

But why dual boot and Debian? Sounds like jumping into the deep end without learning to swim first, if you’ll pardon the candid opinion.

On 2010-08-08 11:06, bubikopf wrote:
>
> Hello, I’m using openSUSE 11.3 64.
>
> And I have a dualboot system with Debian, how can I make both systems
> read and write ALL files on the computer?
>
> openSUSE can’t open the Debian’s HDD and the other way round… how can
> I change that?

What error are you getting when you try?

We need exact data.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

On 2010-08-08 14:06, bubikopf wrote:
>
> Well… on both OSs, I chose the same user name, user password and root
> password.
>
> Plus I don’t understand this list of whatever.

You need to learn the basics about unix / linux first. Please get a good book.

Names are irrelevant, the important detail is the numeric ID of each user.

Please run on each system the command line below and paste here the result:


grep `whoami` /etc/passwd

Notice that the “whoami” command is surrounded by back ticks.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

When I’m running openSUSE, I can mount the other device by entering the root-password. But I can’t change the files on it.

And when I’m running Debian, I can’t even mount the device: I’m not privileged to mount the volume.

I’ve tried to change the UIDs on both OSs. I’m never privileged to save the changes on the file passwd.

Only root may mount a device. You must give the device R/W permissions for users. In either system let us see output of

cat /etc/fstab

then become root with
su -
then root password (note the password does NOT echo to the screen)

fdisk -l ( that is a lower case L NOT a one)

Please note which partitions are Debian and which are Suse

Well… I have:

/dev/sda: Debian
/dev/sda1 457GB - Linux native - Ext3
/dev/sda2 8.65GB - Extended
/dev/sda5 8.65GB - Linux Swap - Swap

/dev/sdb: openSUSE
/dev/sdb1 2.01GB - Linux Swap - Swap … swap
/dev/sdb2 20.00GB - Linux Native - Ext4 … /
/dev/sdb3 210.88GB - Linux Natuve - Ext4 … /home

Thanks … I’m currently collecting all the Terminal commands.

What version of Debian? Does it know the ext4 file system? If it is an older version it may not.

On 2010-08-08 16:06, bubikopf wrote:
>
> When I’m running openSUSE, I can mount the other device by entering the
> root-password. But I can’t change the files on it.
>
> And when I’m running Debian, I can’t even mount the device: I’m not
> privileged to mount the volume.
>
> I’ve tried to change the UIDs on both OSs. I’m never privileged to save
> the changes on the file passwd.

That is not the exact details…

Ok, output of “mount” on both cases.
The command you use for testing and its output - CLI, text, command line, not GUI.

You can use, for example “touch” to try creating an empty file that does not exist.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))