homerun
08-25-2009, 01:33 PM
I recently blundered on a multibooting linux system. I am only testing the systems, and I now hope to make this an immense learning process.
I meant to change file group ownership on all files in the data partition (/mnt/sda15), but actually started the process on /mnt instead of /mnt/sda15. Inside /mnt are about 9 different folders mounted to all my distros partitions. After about a minute I realized what I had done and shut down the system.
Three of the distros were surely effected - sda2, sda3 and sda8, which is the alphabetic order of the mounted partitions in /mnt. sda5,6,7 don't have distros installed and sd4 is the usual extended partition. For some reason, sda1 was not effected, possibly because I was using the distro in sda2 when I started to change group ownership. Actually, other distros may have been effected but they boot and seem to operate without problems.
I used Nautilus as root to change the group ownership using properties of the /mnt folder (meant to select /mnt/sda15 only). In the permissions tab, I changed the Group ownership from "root" to "users". I changed the folder access for users to "Create and Delete files". I then clicked the button titled "Apply permissions to enclose files". Since the process took longer than a few seconds, I realized what I had done and restarted the system.
I tried the following from one of the functioning distros:
cd /mnt
ls -l
drwxr-xr-x 23 root root 4096 2009-08-24 21:54 sda1
drwxr-xr-x 23 root root 4096 2009-08-24 21:40 sda10
drwxr-xr-x 4 root root 4096 2009-08-17 16:51 sda11
drwxr-xr-x 21 root root 4096 2009-08-24 21:14 sda12
drwxrwxrwt 22 root root 4096 2009-08-25 08:54 sda13
drwxr-xr-x 21 root root 4096 2009-08-24 21:23 sda14
drwxrwxrwx 12 root root 4096 2009-08-25 09:24 sda15
drwxr-xr-x 24 root root 4096 2009-08-25 12:03 sda2
drwxrwxr-x 22 root root 4096 2009-08-24 21:36 sda3
drwxrwxrwx 5 root root 4096 2009-08-23 16:58 sda6
drwxrwxr-x 4 root root 4096 2009-08-25 10:28 sda7
drwxrwxr-x 22 root root 4096 2009-08-15 11:35 sda8
drwxr-xr-x 2 root root 4096 2009-08-15 19:43 sda9
find . -group users > textfile
The only files with group ownership of "users" was in my home directories of some of the distros and the tmp of two of them. Also, the /mnt of the distro on which I ran the operation has users as the group ownership, so that did get changed.
Since I have six other functioning distros, I am not at all desperate, but wanted to solicit any ideas before I go as far as using repair capabilities of each effected distro's install disk, or just perform complete re-installation of said distros.
If anyone is interested in this, I would be glad to provide as much information as possible, as well as publish my experiences with my successful and/or futile efforts.
I meant to change file group ownership on all files in the data partition (/mnt/sda15), but actually started the process on /mnt instead of /mnt/sda15. Inside /mnt are about 9 different folders mounted to all my distros partitions. After about a minute I realized what I had done and shut down the system.
Three of the distros were surely effected - sda2, sda3 and sda8, which is the alphabetic order of the mounted partitions in /mnt. sda5,6,7 don't have distros installed and sd4 is the usual extended partition. For some reason, sda1 was not effected, possibly because I was using the distro in sda2 when I started to change group ownership. Actually, other distros may have been effected but they boot and seem to operate without problems.
I used Nautilus as root to change the group ownership using properties of the /mnt folder (meant to select /mnt/sda15 only). In the permissions tab, I changed the Group ownership from "root" to "users". I changed the folder access for users to "Create and Delete files". I then clicked the button titled "Apply permissions to enclose files". Since the process took longer than a few seconds, I realized what I had done and restarted the system.
I tried the following from one of the functioning distros:
cd /mnt
ls -l
drwxr-xr-x 23 root root 4096 2009-08-24 21:54 sda1
drwxr-xr-x 23 root root 4096 2009-08-24 21:40 sda10
drwxr-xr-x 4 root root 4096 2009-08-17 16:51 sda11
drwxr-xr-x 21 root root 4096 2009-08-24 21:14 sda12
drwxrwxrwt 22 root root 4096 2009-08-25 08:54 sda13
drwxr-xr-x 21 root root 4096 2009-08-24 21:23 sda14
drwxrwxrwx 12 root root 4096 2009-08-25 09:24 sda15
drwxr-xr-x 24 root root 4096 2009-08-25 12:03 sda2
drwxrwxr-x 22 root root 4096 2009-08-24 21:36 sda3
drwxrwxrwx 5 root root 4096 2009-08-23 16:58 sda6
drwxrwxr-x 4 root root 4096 2009-08-25 10:28 sda7
drwxrwxr-x 22 root root 4096 2009-08-15 11:35 sda8
drwxr-xr-x 2 root root 4096 2009-08-15 19:43 sda9
find . -group users > textfile
The only files with group ownership of "users" was in my home directories of some of the distros and the tmp of two of them. Also, the /mnt of the distro on which I ran the operation has users as the group ownership, so that did get changed.
Since I have six other functioning distros, I am not at all desperate, but wanted to solicit any ideas before I go as far as using repair capabilities of each effected distro's install disk, or just perform complete re-installation of said distros.
If anyone is interested in this, I would be glad to provide as much information as possible, as well as publish my experiences with my successful and/or futile efforts.