• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

Problem with Mandriva 2006

Status
Not open for further replies.

plsoft

Journeyman
I can copy files from windows partition but when i try to write on the partitions it says "Access Denied". Even i can't change the permission properties. Please help.
 

mehulved

18 Till I Die............
Is the partition ntfs?
I am not so sure though that Mandriva 2006 has ntfs write access.
Also try adding uname=000 after defaults to the line where corrosponding to the partition in /etc/fstab.
 
OP
plsoft

plsoft

Journeyman
Partition is Fat32
tech_your_future said:
Also try adding uname=000 after defaults to the line where corrosponding to the partition in /etc/fstab.

How do i go about this? Sorry m new to linux.
 

mehulved

18 Till I Die............
OK do this
Code:
su
nano /etc/fstab
Now edit the line corrosponding to the ntfs partition. fdisk -l should help you there. Or maybe some other GUI tool.
Here's an example
Code:
/dev/hda1   /media/c_drive      ntfs   defaults,umask=000     0 0
 

JGuru

Wise Old Owl
@Tech_your_future & @Venom, Mandriva Linux mounts Windows partitions automatically.
NTFS read/write support is available in Mandriva Linux 2006. NTFS write support was
available in Mandrake 9.2 itself!!
@Plsoft, here is the solution:
Mandriva Linux mounts the Windows paritions in the '/mnt' directory.
So to access C drive type, '/mnt/win_c', D drive , '/mnt/win_d' and so on.
The problem is you don't have write permission to the NTFS partition!!
Open the Terminal Window & type:
$ su -
(Enter password)
chmod -R 777 /mnt/win_c
$ exit
If it's other drive say E drive, then the command would be:
chmod -R 777 /mnt/win_e
That's all.This will solve your problem.
 
OP
plsoft

plsoft

Journeyman
/dev/hda9 / ext3 rw 0 0
none /proc proc rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /sys sysfs rw 0 0
none /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=ext2:vfat,-- 0 0
/dev/hda1 /mnt/win_c vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hda6 /mnt/win_e vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hda7 /mnt/win_f vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hdd /mnt/cdrom2 udf ro,noexec,nosuid,nodev,users,umask=0022,iocharset=iso8859-1,user=sang 0 0
 

eddie

El mooooo
You did not give output of lsmod. Anyways, it is not needed anymore.

As suggested earlier, what you need to do is to edit your fstab file. How to go about is here:
1) Open a konsole/terminal window. Type "kdesu kate" (without quotes) and press enter. In the next window that opens, enter your root password.
2) A text editor will open which looks like notepad.
3) Go to File --> Open. Then in the "Location" field, type /etc/fstab and press enter.
4) The file that opens next, you need to edit the lines that look more or less like (not exactly the same)
Code:
/dev/hda1		/mnt/win_c	  vfat	      rw,umask=0022		0   0
Now you need to edit the umask values for every line containing "vfat" in it. Change umask=0022 to umask=0000
5) Save the file, reboot and try again.
 
Last edited:
OP
plsoft

plsoft

Journeyman
Still the same prob, nways check this out.

lsmod

Module Size Used by
udf 83332 1
raw 6592 1
md5 3584 1
ipv6 234016 8
snd_seq_dummy 2532 0
snd_seq_oss 31136 0
snd_seq_midi_event 5696 1 snd_seq_oss
snd_seq 46960 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6828 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 48960 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_ca0106 28420 0
snd_ac97_codec 83900 1 snd_ca0106
snd_pcm 79784 3 snd_pcm_oss,snd_ca0106,snd_ac97_codec
snd_timer 20548 2 snd_seq,snd_pcm
snd_page_alloc 8392 2 snd_ca0106,snd_pcm
snd 46116 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,s
nd_mixer_oss,snd_ca0106,snd_ac97_codec,snd_pcm,snd_timer
soundcore 7008 1 snd
parport_pc 32612 1
lp 10024 0
parport 31976 2 parport_pc,lp
usblp 10976 0
ipt_IFWLOG 2788 1
ipt_psd 43428 1
ip_set_iptree 5544 2
ipt_REJECT 4256 4
ipt_LOG 6272 8
ipt_state 1312 7
ipt_pkttype 1184 4
ipt_set 1920 2
ipt_CONNMARK 1696 0
ipt_MARK 1984 0
ipt_ROUTE 4260 0
ipt_connmark 1216 0
ipt_owner 2432 0
ipt_recent 9292 0
ipt_iprange 1312 0
ipt_physdev 1744 0
ipt_multiport 2112 0
ipt_conntrack 1792 0
iptable_mangle 2016 0
ip_set_portmap 3840 0
ip_set_macipmap 3780 0
ip_set_ipmap 3872 0
ip_set_iphash 5924 0
ip_set 18876 11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_mac
ipmap,ip_set_ipmap,ip_set_iphash
ip_nat_irc 1824 0
ip_nat_tftp 1216 0
ip_nat_ftp 2560 0
iptable_nat 20212 3 ip_nat_irc,ip_nat_tftp,ip_nat_ftp
ip_conntrack_irc 70352 1 ip_nat_irc
ip_conntrack_tftp 3088 1 ip_nat_tftp
ip_conntrack_ftp 71408 1 ip_nat_ftp
ip_conntrack 40824 9 ipt_state,ipt_conntrack,ip_nat_irc,ip_nat_tftp,i
p_nat_ftp,iptable_nat,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp
iptable_filter 2080 1
ip_tables 20416 20 ipt_IFWLOG,ipt_psd,ipt_REJECT,ipt_LOG,ipt_state
,ipt_pkttype,ipt_set,ipt_CONNMARK,ipt_MARK,ipt_ROUTE,ipt_connmark,ipt_owner,ipt_
recent,ipt_iprange,ipt_physdev,ipt_multiport,ipt_conntrack,iptable_mangle,iptabl
e_nat,iptable_filter
via_rhine 19588 0
mii 4704 1 via_rhine
af_packet 16392 0
floppy 55444 0
video 14052 0
thermal 10920 0
tc1100_wmi 5092 0
processor 17876 1 thermal
fan 3172 0
container 3008 0
button 4848 0
battery 7460 0
ac 3268 0
ide_cd 37988 2
loop 14504 0
nls_iso8859_1 3680 5
nls_cp850 4480 4
vfat 10592 4
fat 45980 1 vfat
supermount 31956 1
via_agp 7584 1
agpgart 29032 1 via_agp
tsdev 5984 0
ehci_hcd 29192 0
uhci_hcd 29136 0
usbcore 108348 4 usblp,ehci_hcd,uhci_hcd
evdev 7648 0
ext3 124744 1
jbd 48568 1 ext3


cat /etc/mtab

/dev/hda9 / ext3 rw 0 0
none /proc proc rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /sys sysfs rw 0 0
none /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=ext2:vfat,-- 0 0
/dev/hda1 /mnt/win_c vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hda6 /mnt/win_e vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hda7 /mnt/win_f vfat rw,umask=0022,iocharset=iso8859-1,codepage=850 0 0
/dev/hdd /mnt/cdrom2 udf ro,noexec,nosuid,nodev,users,umask=0022,iocharset=iso8859-1,user=sang 0 0

The umask takes the default values after rebooting.
 

JGuru

Wise Old Owl
@Plsoft, Use Mandriva Linux 'Control Center' to configure things.Also you must use
'DrakPerm' wizard to configure File permissions in Mandriva Linux. Check this link:
http://doc.mandrivalinux.com/MandrakeLinux/101/en/Starter.html/drakperm.html
Choose the partition, where you have problem , & set the Permission as '777'.
This should work. @Tech_your_future, you are right. You configure everything in
Mandriva Linux through 'Control Center' using Wizards, not by manually editing
System files!!
 

eddie

El mooooo
tech_your_future said:
Eddie, the problem is with Mandriva. I vividly remember reading that Mandriva 2006 will overwrite a configuration file on next boot, if you do so manually.
Bleh! That frigin sucks! What else is left? A linux BSOD? Mandriva should invent such a thing...idiots.
 

mehulved

18 Till I Die............
Plsoft did you check the links supplied by me and JGuru? They have the information on how to find DrakPerm. It is already installed.
 

JGuru

Wise Old Owl
@Plsoft, Open the Terminal Window & type:
$ drakeconf
(Enter Root password)
This will open up Mandriva Linux Control Center
You can configure everything in your System from monitor setttings, printer,
firewall, file permissions, Hardware, Installing or removing software etc.,
MCC is already installed, so you don't need to install it!!

This is how Mandriva Linux Control Center looks like

controlcenter-main.png


You have to do a bit of searching @Plsoft!!
 
OP
plsoft

plsoft

Journeyman
Actually i had already browsed thru control centre, just dat i didn't know it was the same as drakperm :-(, sorry guys.
Will get back, let's c how i fare.

@JGuru- Have done everything u suggested, still the same prob. Really sorry to be a pain, pls bear.
 
Last edited:
Status
Not open for further replies.
Top Bottom