LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-12-2006, 07:18 PM   #1
mushmaster
Member
 
Registered: Aug 2004
Location: USA - PA
Distribution: ubuntu
Posts: 63

Rep: Reputation: 15
directory permissions acting strange.


i set up a dual boot system today. windows (xp) and linux (ubuntu).

it has a FAT32 partition, for sharing between the two systems, /dev/hda4, mounted at /shared.

file permissions for /shared are set such that it cannot be written to except by root. i cannot change this, even from the root account.

i can change the permissions of /dev/hda4, and if it isn't mounted, i can change the permissions of /shared.

as soon as it's mounted though, the permissions of /shared revert back to 'root only' and i cannot change them, even as root.

i've never run into this sort of thing before. what's going on?
 
Old 02-12-2006, 07:33 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It's because fat32 doesn't support the same attributes that a Linux file system does. Try using something like the following in /etc/fstab:
Code:
/dev/hda4  /shared  vfat  rw,users,umask=0000  0  0
You can also give a specific user/group ownership by adding uid= & gid= options to rw,users,umask=0000 - there's more info in man fstab and man mount.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CD-Rom acting strange. bilko9070 Linux - Hardware 0 01-11-2006 04:52 AM
Php4 acting strange Sevoma Linux - Software 13 02-15-2005 05:44 PM
Avidemux2 acting strange alitrix Linux - Software 0 12-15-2004 10:55 AM
suse 9.1 acting strange ozzytx Linux - General 1 08-29-2004 09:41 PM
Directory permissions acting funny... ifm Linux - Newbie 1 06-11-2002 02:18 PM

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

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