I am running Kubuntu v6.06 on a Pentium 4 computer with 1Gb of memory and a 30Gb IDE drive. I have recently installed a 200Gb SATA drive for data storage. But I cannot write to this drive except as root.
Here is what I did--
1. Using GPARTED as boot disk, partitioned a VFAT and a EXT3 partition, both 200Mb, on the SATA disk, as a test.
2. Under Kubuntu the VFAT partition appeared as SDA1 and the EXT2 partition appeared as SDA2.
3. Edited /etc/fstab to add the following lines at the end of the file--
/dev/sda1 /media/vfat auto rw,user,noauto 0 0
/dev/sda2 /media/sata auto rw,user,noauto 0 2
4. Created the following directories in /media for mount points--
vfat
sata
5. Rebooted computer; partitions did NOT mount automatically, but DID mount when I clicked on their icons.
6. The permissions on the IDE drive where Kubuntu is installed is as follows:
Owner: Can view and modify content
Group: Can view content
Others: Can view content
7. The User and Group of the / volume are root.
8. The permissions, User, and Group on the SATA drive are the same as the IDE drive above.
9. The /etc/fstab entry for the system disk is
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
The problem I am encountering is this--
1. I cannot copy/save [write] to the SATA disk as my user login.
2. I cannot drag-and-drop or cut-and-paste as my user login.
3. I can do the following as root--
a. cd /media/sata
b. sudo cp /home/<username>/<filename> .
c. the permissions [-rw-r--r--] of the file successfully written to the SATA disk remain the same but the owner/group change from <username>/<username> to root/root in /media/sata.
It appears that I need to change something in the /etc/fstab entry for the SATA drive to be able to write to it as user.
Someone help me out, please.
Here is what I did--
1. Using GPARTED as boot disk, partitioned a VFAT and a EXT3 partition, both 200Mb, on the SATA disk, as a test.
2. Under Kubuntu the VFAT partition appeared as SDA1 and the EXT2 partition appeared as SDA2.
3. Edited /etc/fstab to add the following lines at the end of the file--
/dev/sda1 /media/vfat auto rw,user,noauto 0 0
/dev/sda2 /media/sata auto rw,user,noauto 0 2
4. Created the following directories in /media for mount points--
vfat
sata
5. Rebooted computer; partitions did NOT mount automatically, but DID mount when I clicked on their icons.
6. The permissions on the IDE drive where Kubuntu is installed is as follows:
Owner: Can view and modify content
Group: Can view content
Others: Can view content
7. The User and Group of the / volume are root.
8. The permissions, User, and Group on the SATA drive are the same as the IDE drive above.
9. The /etc/fstab entry for the system disk is
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
The problem I am encountering is this--
1. I cannot copy/save [write] to the SATA disk as my user login.
2. I cannot drag-and-drop or cut-and-paste as my user login.
3. I can do the following as root--
a. cd /media/sata
b. sudo cp /home/<username>/<filename> .
c. the permissions [-rw-r--r--] of the file successfully written to the SATA disk remain the same but the owner/group change from <username>/<username> to root/root in /media/sata.
It appears that I need to change something in the /etc/fstab entry for the SATA drive to be able to write to it as user.
Someone help me out, please.
Comment