LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2003, 01:40 PM   #1
naveen
LQ Newbie
 
Registered: Jul 2003
Location: Lexington, KY, US
Distribution: Slackware 10, 2.4.33.3
Posts: 11

Rep: Reputation: 0
Question Cannot chmod files in windows partition


I mounted my windows2000 partition (which is on another drive) by:
mount -t vfat /dev/hdb1 /mnt/vfat

Since my Linux(RH9) partition doesn't have enough space, I wanted to put some of my files in the windows partition. So I tried changing the permissions, so that I can RW it in my non-root login, using chmod:

# chmod 775 My\ Documents/
chmod: changing permissions of `My Documents/' (requested: 0775, actual: 0755):
Operation not permitted

I tried looking at man mount, to see if there are any mount options that I should have used. But by default mount is rw.

Can anyone help me know what/why the problem is.

Thanks.
 
Old 07-17-2003, 01:58 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
The only thing I can think of is that the file system is mounted Read-Only.
Try adding -o rw to your mount command.

Also, changing permissions on a vfat file system does not work in the same way as in Linux.
 
Old 07-17-2003, 02:35 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
when you add the mount point to your fstab you have to specify in the options that you want regular users to have r/w access to the drive instead of ro...
adding something like umask=000 or uid=500 (if your userid is 500) will work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 10:11 PM
Windows partition requires root permissions- chmod question Garibaldi3489 Slackware 19 05-16-2005 02:52 AM
How do I change my windows partition permissions. chmod won't work. brandonloserkid Slackware 2 12-03-2004 06:39 PM
chmod-ing my windows partition herve2001 Slackware 5 09-27-2004 01:20 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-18-2004 12:05 AM


All times are GMT -5. The time now is 04:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration