Results 1 to 6 of 6
how to delete or modify the files in windows drives in mandriva linux.... how to change the permissions of that drives....please help.... thanks in advance.....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-15-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 3
windows drives in linux...
how to delete or modify the files in windows drives in mandriva linux.... how to change the permissions of that drives....please help.... thanks in advance..
- 09-15-2008 #2
How did you mount Windows Partitions in Mandriva?
Post the contents of /etc/fstab file here.
Post the output of these commands too :
* Its small L in fdisk -l.Code:su - fdisk -l df -h
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-15-2008 #3Just Joined!
- Join Date
- Jun 2008
- Posts
- 35
you're only asking how to change the permissions, so I assume you already know how to mount it and already did.
to change access permissions to everyone may do everything (the easiest form) just type
you can specify instead of just doing *, you can change rights recursively, change only certain rights for certain ppl...Code:su [put you root password in. it's normal that you don't see what you type] cd /path/to/windoze chmod 777 *
all with chmod.
google is your friend.
hf
- 09-16-2008 #4It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-25-2008 #5Just Joined!
- Join Date
- Sep 2008
- Posts
- 3
here are the results....
[root@localhost etc]# cat fstab
# Entry for /dev/hda7 :
UUID=46c0351b-6a11-46fb-90f0-216ee4af7edd / ext3 relatime 1 1
# Entry for /dev/hda8 :
UUID=b0280653-2ef5-4f55-8cae-6fb77b4a4aaa /home ext3 relatime 1 2
none /proc proc defaults 0 0
# Entry for /dev/hda1 :
UUID=FED039C1D03980C7 /media/hd ntfs-3g defaults 0 0
# Entry for /dev/hda5 :
UUID=7CA4D9CFA4D98C50 /media/hd2 ntfs-3g defaults 0 0
# Entry for /dev/hda6 :
UUID=BCF8AD40F8ACF9B2 /media/hd3 ntfs-3g defaults 0 0
[root@localhost etc]# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe571e571
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/hda2 3825 9729 47431912+ f W95 Ext'd (LBA)
/dev/hda5 3825 6374 20482843+ 7 HPFS/NTFS
/dev/hda6 6375 8286 15358108+ 7 HPFS/NTFS
/dev/hda7 8287 8676 3132643+ 83 Linux
/dev/hda8 8677 9729 8458191 83 Linux
Disk /dev/sda: 1021 MB, 1021125120 bytes
32 heads, 63 sectors/track, 989 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Disk identifier: 0xc01c9572
Device Boot Start End Blocks Id System
/dev/sda1 * 1 989 996880+ b W95 FAT32
[root@localhost etc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda7 3.0G 2.0G 815M 72% /
/dev/hda8 8.0G 188M 7.8G 3% /home
/dev/hda1 30G 6.8G 23G 23% /media/hd
/dev/hda5 20G 1.4G 19G 8% /media/hd2
/dev/hda6 15G 1.1G 14G 7% /media/hd3
/dev/hdc 4.3G 4.3G 0 100% /media/SONGS-VEDIOS
/dev/sda1 972M 5.0M 967M 1% /media/DATA
[root@localhost etc]#
- 09-25-2008 #6
Open /etc/fstab file with root privileges and add umask=0 in these lines :
Save file and execute mount -a command or Reboot machine. You will have read/write access in all partitions.Code:UUID=FED039C1D03980C7 /media/hd ntfs-3g defaults,umask=0 0 0 # Entry for /dev/hda5 : UUID=7CA4D9CFA4D98C50 /media/hd2 ntfs-3g defaults,umask=0 0 0 # Entry for /dev/hda6 : UUID=BCF8AD40F8ACF9B2 /media/hd3 ntfs-3g defaults,umask=0 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote

