LinuxQuestions.org
Visit Jeremy's Blog.
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-13-2006, 06:25 AM   #1
casper234
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Problem in using chmod with mounted folder


The situation is:
I had a Fat32 partition and I mounted it to /mnt/FAT. It's ok.
In /mnt/FAT, i created 2 folders: READONLY and WRITABLE, and I want to set permissions rule 755 to READONLY and 777 to WRITABLE.

When I used chmod -R 777 /mnt/FAT/WRITABLE, i received the following message:

chmod: changing permissions of `/mnt/FAT/WRITABLE' (requested: 0777, actual: 0755): Operation not permitted

Vice versa, if I mount my partition with umask=0 (anything in this has permission mask 777), and i chmod to READONLY: chmod -R 755 /mnt/FAT/READONLY, I also received the similar error:

chmod: changing permissions of `/mnt/FAT/READONLY' (requested: 0755, actual: 0777): Operation not permitted

Any suggestion?

Last edited by casper234; 02-13-2006 at 06:49 AM.
 
Old 02-13-2006, 07:58 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
Correct me if i'm wrong but the FAT32 file system doesn't recongnise file permssions and linux permission cannot be applied to it. other that with a 'umask' etc settings in /etc/fstab.
 
Old 02-13-2006, 07:59 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
FAT filesystems haven't support for permissions, owner, group, links, symbolic links.
It's a very very very simple filesystem.

Cheers,
 
Old 02-13-2006, 08:11 AM   #4
casper234
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Oh, What a file system
I will format it using ext3.
Thanks very much to satinet, marozsas.

Last edited by casper234; 02-13-2006 at 08:13 AM.
 
Old 02-13-2006, 08:23 AM   #5
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
I believe this must be post number #315 about the same subject. Please try to learn to search the forums people.
 
Old 02-13-2006, 08:45 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
a lot more than 315 i suspect!

i guess, its much harder if you think the problem is unique to you. however, i reckon 50% of the probs in this forum could be solved via judicious use of google.

however, it's much harder to frame google queries and questions in this forum if you dont have the technical knowledge and experience to encapsulate the problem in words. Casper did try some things, so i'm cool with that.

but fair point AlienDog!

:-D
 
  


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
Chmod rights and folder access fieldyweb Linux - General 3 08-24-2005 04:12 AM
Assign CHMOD Rights To Mapped Windows Folder, GaneshParam Linux - Security 0 08-03-2005 05:09 AM
(re)sharing an nfs-mounted folder with samba rtspitz Linux - Networking 1 02-13-2005 01:36 PM
Chmod = no access to home folder! DeathPrawn Linux - Newbie 4 02-12-2005 11:50 AM
Changing permissions of mounted folder of XP box owain Linux - Networking 1 06-12-2004 04:09 PM

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

All times are GMT -5. The time now is 07:28 AM.

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