hi guys,
i am using Kubuntu Breezy. i have 3 partitions on my HDD, one NTFS for windows, one FAT32 for common data, and one reiserfs partition for linux.
In the fstab i changed the owner of the drive to my username (nus). and when i mount the dirve (mount -a) it does give me write permission, but the problem is that it automatically looses this Wittie permission and the drive becomes readonly. I am not sure what triggers this.
When this happens doing a ls -l still shows the correct owner and permissions
nus@Slash:/media$ ls -l
total 12
lrwxrwxrwx 1 root root 6 2006-02-03 17:56 cdrom -> cdrom0
drwxr-xr-x 2 root root 48 2006-02-03 17:56 cdrom0
drwxr-xr-x 23 nus root 4096 1969-12-31 19:00 data
dr-x------ 1 nus root 8192 2006-02-18 13:01 windows
but i cannot write to the data drive.
I am not sure what triggers this. It happens even if it is just lying around encoding a video, or perhapps downloading a file to the data drive, and suddenly the process will stop in between giving an error saying it cannot write to drive.
This is what my fstab file looks like:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / reiserfs notail 0 1
/dev/sda1 /media/windows ntfs uid=nus 0 0
/dev/sda5 /media/data vfat uid=nus 0 0
/dev/sda4 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
I have also tried using the umask option and setting it to 000, but even that didnt work.
Please help!!
i am using Kubuntu Breezy. i have 3 partitions on my HDD, one NTFS for windows, one FAT32 for common data, and one reiserfs partition for linux.
In the fstab i changed the owner of the drive to my username (nus). and when i mount the dirve (mount -a) it does give me write permission, but the problem is that it automatically looses this Wittie permission and the drive becomes readonly. I am not sure what triggers this.
When this happens doing a ls -l still shows the correct owner and permissions
nus@Slash:/media$ ls -l
total 12
lrwxrwxrwx 1 root root 6 2006-02-03 17:56 cdrom -> cdrom0
drwxr-xr-x 2 root root 48 2006-02-03 17:56 cdrom0
drwxr-xr-x 23 nus root 4096 1969-12-31 19:00 data
dr-x------ 1 nus root 8192 2006-02-18 13:01 windows
but i cannot write to the data drive.
I am not sure what triggers this. It happens even if it is just lying around encoding a video, or perhapps downloading a file to the data drive, and suddenly the process will stop in between giving an error saying it cannot write to drive.
This is what my fstab file looks like:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / reiserfs notail 0 1
/dev/sda1 /media/windows ntfs uid=nus 0 0
/dev/sda5 /media/data vfat uid=nus 0 0
/dev/sda4 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
I have also tried using the umask option and setting it to 000, but even that didnt work.
Please help!!
Comment