LinuxQuestions.org
Visit Jeremy's Blog.
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 02-25-2005, 01:23 AM   #1
maamold
LQ Newbie
 
Registered: Jan 2005
Location: Portland, Oregon
Distribution: Fedora Core 3...Slackware someday :-)
Posts: 11

Rep: Reputation: 0
Angry Changing ownership of vfat mount


This one has me stumped. I have changed my fstab to mount /dev/hdb4 with all the options I know how. I've done an su root and tried chmod 777 (user) but I get nothing and chown (user) /D but it says "chown: changing ownership of `/D': Operation not permitted"
nothing seems to allow me to take control of my own mount!


/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
/dev/hdb4 /D vfat rw,auto,users,exec 0 0
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrom1 auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
/dev/scd0 /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
 
Old 02-25-2005, 02:15 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
try to set user and groupid for accessing ur mount
 
Old 02-25-2005, 02:27 AM   #3
maamold
LQ Newbie
 
Registered: Jan 2005
Location: Portland, Oregon
Distribution: Fedora Core 3...Slackware someday :-)
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by overlord73
try to set user and groupid for accessing ur mount
Update:

I just read another thread where a user was having the same type of problem he changed his mount in fstab to read:

user,gid=users,umask=0002 0 0

He was using NTFS and I was using VFAT but I figured what the heck it worked for him. I added an rw to mine so it reads:

/dev/hdb4 /D vfat rw,user,gid=users,umask=0002 0 0

and now it works...now I just have to read up on 'unmask' to figure out what it REALLY does

Thanks again
 
  


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
Changing Fstab in ubuntu to mount vfat drive mikeymorgan Linux - Newbie 13 06-23-2005 07:50 AM
changing the ownership djh Slackware 3 11-08-2004 04:16 AM
Changing ownership of folders Nurfen Linux - Newbie 1 08-01-2004 12:00 PM
vfat ownership weiss Linux - Newbie 8 09-25-2003 02:30 AM
changing ownership of downloaded file ergo_sum Linux - Newbie 2 09-19-2003 07:58 PM

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

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