LinuxQuestions.org
Register a domain and help support LQ
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 01-17-2004, 09:53 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
can i chmod/chown vfat partition


can i chmod/chown vfat partition mounted into redhat9?

will this destroy the fat32 partition and make my win xp dont identify the data on that partition correctly?

is doing chmod/chown adding data a file or folder?

is chmod/chown is limited to ext2 and ext3 partition?
 
Old 01-17-2004, 10:06 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You will not be able to change ownerships of files on a fat32 partition as it is not supported. Only *nix filesystems have this capability.
 
Old 01-17-2004, 10:43 AM   #3
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
and if i do chmod and chown on fat drive?
will it damage that partition?
 
Old 01-17-2004, 10:48 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
IIRC it says "Opperation not permitted" and exits so it shouldn't damage anything.
 
Old 01-17-2004, 06:52 PM   #5
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
It won't do anything. There's simply no place to put it, so it's discarded. For fat/vfat partitions, your permissions are set by how you mount the drive, so if you want to keep Linux users from modifying the fat drive, you have to set those permissions when you mount. From a windows point of view, there's nothing available to set, so it's open season on any box, provided you have permission to write to the directory.
 
Old 01-17-2004, 07:24 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
If you want to change the owner of the files on a VFAT partition, you will need to edit your /etc/fstab entry for it and add uid=XXX and gid=XXX and put the User ID number and Group ID numbers respectively.
 
Old 01-17-2004, 10:07 PM   #7
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
umask= 0 0 0 is what set in /etc/fstab under my fat32 partition?

how do i set letsay my g:\ that is hda8

in my fstab i used this line here:-

/dev/hda8 /g vfat auto,umask=0 0 0

is this the correct line to set so that all users can read/write and execute that partition?

if so why i still cant delete some of the files in my g:\ under redhat9?

most of the time i wanted to decompresss, tar.gz files using ark (a file compressor gui interface) it reported permission not allowed?

i use kde 3.1 and wanted to extract a tar.gz in my mounted vfat partition by using right click the selected compressed files and select extract to and i reported i cant do so because of no permission.

how to i set into fstab so that each and every users will get full access to my fat32 partition (read,write and execute)?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using chown, chgrp, chmod on a vfat partition? Rodolfo Medina Linux - General 7 08-17-2005 08:17 AM
chmod/chown and folders :) chibi Linux - Newbie 2 04-28-2005 04:56 PM
Chown & Chmod swatward Linux - Newbie 2 03-01-2005 12:57 PM
Log Chmod and Chown FernandoLozano Linux - Security 5 01-10-2005 09:01 AM
reverse chmod/chown changes demmylls Linux - General 1 02-09-2004 12:16 AM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration