LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2005, 12:38 AM   #1
bluknight43
LQ Newbie
 
Registered: Feb 2005
Posts: 29

Rep: Reputation: 15
mandrake write permissions


hey i got mandrake 10.2
i installed it with the auto partition option
it picked up and mounted my windows drive under
file:/mnt/win_c
but I can't write to that folder I can only read

got any ideas
fellas??

thanks

oh yeah and check out amd dual core
its sooooooo cool
 
Old 05-11-2005, 12:50 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
ASSUMING YOU USE FAT32:
just mount this drive (the windows one) giving "-o umask=000", or add "umask=000" in the forth column of fstab (this is the option column) on the line that refer to your drive.

ASSUMING YOU USE NTFS:
NTFS write support in linux is very minimal, blame micro$oft to keep their specs secret. The best way is still to use a FAT32 partition to exchange files between linux and windoze.
If you _really_ want to write to NTFS, there a way to load windoze native ntfs drivers in linux. Search about "captive-ntfs" on google.
 
Old 05-11-2005, 12:53 AM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
if it is a ntfs partition it is normal...
 
Old 05-11-2005, 01:13 AM   #4
bluknight43
LQ Newbie
 
Registered: Feb 2005
Posts: 29

Original Poster
Rep: Reputation: 15
well its a ntfs but i also got fat32
so it shows win_c and win_d

so i can use the win_d

but just a little confused here where do you type the "-o umask=000"

thanks
 
Old 05-11-2005, 01:23 AM   #5
windowsrefugeeX
Member
 
Registered: Apr 2004
Posts: 272

Rep: Reputation: 30
Let me tell you this dude, DON'T write 2 ur windoze partion from linux. If windoze partion is NTFS don't if not it's cool. I remember when i first started 2 fool around w/ linux I wanted to write 2 my windoze partion XP adn yeah I lost all of my stuff, hehehe I remember I didn't sleep that nite i had to re-install everything from xp to zone-alarm lol dang updates please reboot agrrrrrr. hehehehe anyways if its not ntfs partion then you need to change permission then u should be able to write.

I know kernel 2.6.11 has the option to write to ntfs partion but i think it is still experimental, correct me if i am wrong people.

good luck
 
Old 05-14-2005, 08:30 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
but just a little confused here where do you type the "-o umask=000"
If you manually mount the partition, then include that at the end of the command. After the -o you can have a comma seperated list of options. The "man mount" and "man fstab" pages will give you details on this.

I would use the options dmask=000,fmask=001 instead, to prevent execution of programs on that drive.

Even better would be to make yourself the owner and group owner of the file with the options "uid=username,gid=username"
This will give you access, but deny other users.

To make life easier, you can use the "diskdrake" program to mount the drive and change the /etc/fstab. Click on the 'expert' mode and add the extra options on the line.

The reason that these mount options are necessary, is because the fat32 filesystem doesn't store these linux attributes. Therefore these options are setup for the entire partition when it is mounted.

By editing the /etc/fstab entry for this fat32 partition, the parition will be mounted when the machine is booting up, and you con't need to mount it every time you boot up the computer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'write permissions einstien Linux - General 1 03-28-2005 07:47 AM
write permissions ScottCamp Linux - Newbie 0 10-20-2004 09:13 AM
Write permissions kougar Linux - Newbie 13 06-04-2004 11:43 AM
Write permissions nuttiernu Linux - General 4 02-03-2003 08:04 AM
write permissions / ownership bynaar Slackware 15 08-08-2002 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration