hi,i have 2 windows drives where i’d like to put files in but when i copy/paste i get a message saying that i don’t have permission,what would i have to do in order to get those permisions?
i don’t wanna log in as root everytime i want to copy something to those disks.
Give us the result of this:
cat /etc/fstab
And in a su terminal do:
fdisk -l
If you identify the partitions you want access to.
If they are ntfs you need to mount them using ntfs-3g.
HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11
sergio@pc-201-242-214-201:~> cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part5 swap
swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part1 /
ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part2 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=es_ES.UTF-8 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part1 /windows/D ntfs-3g use rs,gid=users,fmask=133,dmask=022,locale=es_ES.UTF-8 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part5 /windows/E ntfs-3g use rs,gid=users,fmask=133,dmask=022,locale=es_ES.UTF-8 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part6 /windows/F ntfs-3g use rs,gid=users,fmask=133,dmask=022,locale=es_ES.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
pc-201-242-214-201:/home/sergio # fdisk -l
Disco /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8cce8cce
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 1 3383 27173916 83 Linux
/dev/sda2 3384 4660 10257502+ 7 HPFS/NTFS
/dev/sda3 4661 4865 1646662+ 5 Extendida
/dev/sda5 4661 4865 1646631 82 Linux swap / Solaris
Disco /dev/sdb: 61.4 GB, 61457356800 bytes
255 heads, 63 sectors/track, 7471 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9a252e1b
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sdb1 * 31 7471 59769801 7 HPFS/NTFS
/dev/sdb2 2 30 232942+ 5 Extendida
/dev/sdb5 2 13 96358+ 7 HPFS/NTFS
/dev/sdb6 14 30 136521 7 HPFS/NTFS
Las entradas de la tabla de particiones no están en el orden del disco
(it says that the entries of the partition table are not in the order of the disk)
on a side note,i had some troubles mounting those partitions,i ended up using a force option and now they are always mounted,the only problem is that i can’t modify anything on them,they all belong to the “root” dude
sorry almost forgot
sdb1 and sda2 are the drives
From a terminal do:
kdesu kwrite /etc/fstab
we can now edit this file carefully! When done - reboot.
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part2 /windows/C ntfs-3g defaults 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part1 /windows/D ntfs-3g defaults 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part5 /windows/E ntfs-3g defaults 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part6 /windows/F ntfs-3g defaults 0 0
But be careful as you will have read write access.
only those four lines right?the other two lines i have before that i leave intact?
these two ones
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part1 / ext3 acl,user_xattr 1 1
or do i just overwrite that too and leave those four new lines?
Leave those!!!
Just the lines I edited:
your fstab should be this:
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part5 swap
swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part1 /
ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD400BB-00HEA0_WD-WCAJ51148144-part2 /windows/C ntfs-3g defaults 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part1 /windows/D ntfs-3g defaults 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part5 /windows/E ntfs-3g defaults 0 0
/dev/disk/by-id/ata-VM360020A_5EXM409N-part6 /windows/F ntfs-3g defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
http://forums.opensuse.org/how-faq-read-only/unreviewed-how-faq/413463-fstab-editing-manually.html
it worked!thank you so much!
You are welcome, just be careful if any of them are the windows OS.
just noticed,have the same problem with USB drives,what should i do in that case?i’m trying to put music into my mp4 player,and it doesn’t let me delete the music i had copied there before.
Are you referring to a ipod? If so I can’t really comment as I don’t have one. But I know folks who do and use amarok (but the 1.4 version from Packman). USB devices are handled differently and don’t always work that well, especially devices designed to be used with ‘other’ OS’s.
After inserting the USB drive/device, go to a terminal (Press Alt+F2, type konsole and press Enter key) and type the following.
mount
Post the output here.
actually it’s a simple mp4 player,it plays most file formats and some video formats,the thing is,for example,if i copy files from a cd to the device,they come as read only since they come from the cd,so after a couple of days when i want to delete them from the player i get that message “read only system”.The only way i have to override that is if i erase the files directly from the player,without plugging it into the computer.It would be way easier just to delete them from Nautilus or Dolphin.
From Dolphin, right-click on the file, chose Properties, choose Permission and choose “Read & Write” for Owner.