PDA

View Full Version : How to write to other linux partitions.



rrfish72
10-20-2004, 02:11 AM
When I try to save or move or copy something to another partition it tells me access denied: Access denied to /mnt/hda7/filename. All my other partitions are either a linux type or fat32 for the windows OS's. I thought I could just go ahead and do all that without any problems. I guess I'm asking how to get access to write to the other partitions. Thank you.

CrashedAgain
10-20-2004, 06:19 AM
Sounds like your other partitions are owned & accessable to root only, this is almost for sure the case for anything other than the /home/user directory in the other linux partition. Try making the copy as root. If this works, perhaps the easiest way to deal with this would be to run Konqueror as root (just drag'n'drop the konqueror icon from the start menu to the desktop then edit so that the application to run is 'kdesu kfmclient...' . You will need a root password to run it.
The more 'proper' way would be to edit fstab & set umask so the partition is mounted with user read/write permissions (see man mount). Run as root konqueror is much easier.

i12805
10-20-2004, 07:08 AM
hi, I have the same problem and I think this is because all partitions (except ramdisk) are mounted as "read only". may be you should remount them with right permisions. If you succeed, please, share your experience.

rrfish72
10-20-2004, 03:15 PM
I had to edit the fstab on the partition that boot lilo. For me that was hda3. Kanotix uses grub to boot so I know it was not hda2. I actually changed fstab on the wrong partition first and nothing happened. Only after I changed the fstab in the correct partition did these changes apply.
This is what my new fstab looks like:

/etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda3 / reiserfs defaults,users,rw,exec,umask=000 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,users,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/sda4 /mnt/zip vfat defaults,rw,noauto,users,noatime,umask=000 0 0
/dev/cdrom /cdrom iso9660 defaults,rw,users,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 vfat users,rw,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 reiserfs rw,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 auto noauto,rw,users,exec 0 0
# Added by KNOPPIX
/dev/hda6 /mnt/hda6 auto noauto,rw,users,exec 0 0
# Added by KNOPPIX
/dev/hda7 /mnt/hda7 auto noauto,rw,users,exec 0 0
# Added by KNOPPIX
/dev/hda8 /mnt/hda8 auto noauto,rw,users,exec 0 0

Now I can move files anywhere, even to my windows partitions. They are fat32 and not ntfs.
Thanks Crashed.