Not really sure if this is a KDE issue or an OS issue, or a ....
Background:
Kernel: 2.6.31-21-generic i686 (32 bit)
Distro: Kubuntu 9.10 karmic
KDE: 4.4.2
External HDs: USB 60GB and USB 30GB
The 60GB drive has a single primary partition formatted as ext3.
The 30GB drive has a primary partition formatted as fat32, an extended partition with two logical partitions formatted as ext3.
The 60GB drive had nothing on it. The 30GB drives two ext3 partitions had nothing on them.
The issue / quirk
When accessing the 30GB ext3 partitions via Dolphin, I, as the user, had no permissions to the partitions. The same was true of the 60GB single ext3 partition.
With them mounted (having been accessed by Dolphin), I checked the Permissions > Ownership (User:Group) of the mount points in /media for each of them. All three were root:root.
Hmm, I said. That isn't right. But I understood what I believe was the cause. Mounting of devices is a root function. These USB HDs are not identified in my fstab file by choice - my PC is a laptop, and I sometimes travel with it and don't take the external USB HDs with me when I do. Mounting of these two HDs is to be done 'on demand' when I have them connected.
The fix
I fixed this issue as follows:
With all three partitions mounted (by Dolphin), I navigated to /media and right-clicked on each of the mount point folders, selected Root Actions > Ownership to... and clicked No, then typed paul:root and clicked OK. Then I when into each partition using Dolphin (under Places). Right-clicking in the display window I created a text file. It could have been any type of file or object, just as long as the user created it.
Now that a file/object existed in each of the ext3 partitions on the USB HDs that had been created by the user (me), the partitions are properly identified with ownership permissions of paul:root when the partitions are accessed (and thus, 'mounted').
It appears that if one sets up an external USB HD and has nothing on it, and doesn't identify it for user access in /etc/fstab, that the user wont have access to it when it is accessed (mounted) 'on demand'. I don't believe that this is/was the intended behavior.
Thoughts, observations, comments are welcome.
Background:
Kernel: 2.6.31-21-generic i686 (32 bit)
Distro: Kubuntu 9.10 karmic
KDE: 4.4.2
External HDs: USB 60GB and USB 30GB
The 60GB drive has a single primary partition formatted as ext3.
The 30GB drive has a primary partition formatted as fat32, an extended partition with two logical partitions formatted as ext3.
The 60GB drive had nothing on it. The 30GB drives two ext3 partitions had nothing on them.
The issue / quirk
When accessing the 30GB ext3 partitions via Dolphin, I, as the user, had no permissions to the partitions. The same was true of the 60GB single ext3 partition.
With them mounted (having been accessed by Dolphin), I checked the Permissions > Ownership (User:Group) of the mount points in /media for each of them. All three were root:root.
Hmm, I said. That isn't right. But I understood what I believe was the cause. Mounting of devices is a root function. These USB HDs are not identified in my fstab file by choice - my PC is a laptop, and I sometimes travel with it and don't take the external USB HDs with me when I do. Mounting of these two HDs is to be done 'on demand' when I have them connected.
The fix
I fixed this issue as follows:
With all three partitions mounted (by Dolphin), I navigated to /media and right-clicked on each of the mount point folders, selected Root Actions > Ownership to... and clicked No, then typed paul:root and clicked OK. Then I when into each partition using Dolphin (under Places). Right-clicking in the display window I created a text file. It could have been any type of file or object, just as long as the user created it.
Now that a file/object existed in each of the ext3 partitions on the USB HDs that had been created by the user (me), the partitions are properly identified with ownership permissions of paul:root when the partitions are accessed (and thus, 'mounted').
It appears that if one sets up an external USB HD and has nothing on it, and doesn't identify it for user access in /etc/fstab, that the user wont have access to it when it is accessed (mounted) 'on demand'. I don't believe that this is/was the intended behavior.
Thoughts, observations, comments are welcome.
Comment