LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2003, 02:20 PM   #1
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
Permissions problem in mounted vfat partition


I have an old HD drive that used to have a dual boot Linux/Windows installation on it. I recently added the drive to a Linux installation that I wanted to use for experimenting with Samba. I was hoping that I could use the old Windows vfat partition as a Samba share.

But, I am finding that I cannot change the permissions on the old vfat shares so that a low level Samba client can write to the share. I've tried a variety of different mount options and switches and it makes no difference. I keep getting "Operation not permmited" messages whenever I try using chmod to allow others to write to that directory or those files where the partition is mounted.

I thought maybe that there was a permissions set under Windows that is causing the problem. But I can no longer boot to that installation, so that would not be a solution.

Does anyone have any idea what the problem here is?
 
Old 02-17-2003, 02:26 PM   #2
Helper_Monkey
Member
 
Registered: Dec 2002
Location: Connecticut
Distribution: RedHat 8.0, Knoppix, Gentoo
Posts: 39

Rep: Reputation: 15
You cannot change permissions on a Windows partition since vfat/fat32 does not support the Linux permissions.

Add umask etc. to your /etc/fstab

i.e.

/dev/hda1 /mnt/windows vfat rw,auto,user,umask=0 0 0
 
Old 02-17-2003, 02:49 PM   #3
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
That did it!

Thank you very much. You would think such a fundamental problem might be more transparently solved. But, that is Linux.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't allow partion permissions for a vfat partition, mounted as my home folder DrD Linux - General 19 07-26-2006 12:26 PM
Permissions on a mounted vfat USB external harddrive Hikaru79 Linux - Hardware 2 02-25-2005 05:39 PM
mounted vfat permissions n3tw0rk Linux - General 3 12-05-2003 04:41 PM
Mounted drive permissions? Vfat kiteless Linux - General 3 08-29-2003 12:32 PM
Permissions problem in mounted vfat partition SparceMatrix Linux - Security 3 04-04-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:03 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