LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-05-2004, 11:59 PM   #1
gchandler
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Linux Mint 17.3
Posts: 86

Rep: Reputation: 15
Shared drive permissions problem


I am running redhat 9 and for some reason even as root I am unable to change the permissions for a fat32 drive I share with WinXP (dual booting). This is a desktop machine I use at home to try out Linux and for internet access. I want to give rwx to all users (me!) for that drive, but system says "operation not permitted". Is there something I can do? This problem arose following an up2date change a little while ago. The drive is mounted.
 
Old 05-06-2004, 01:57 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
You cannot change the permissions for a directory mounted via /etc/fstab as anyone other than root, if you have used the default settings/mount point for the drive, and defintely not while the drive is mounted under any circumstances.

Unmount the drive, open a terminal and su to root, then surf to the folder (or open a file manager from the root terminal), and change the permissions of the folder the drive is mounted into. Then remount the drive.

You might also want to edit /etc/fstab (assuming that the drive is listed in /etc/fstab) to change the mount point to someplace that you as a user naturally have permissions (meaning your $HOME$ directory), and add options to allow users to mount and umount the drives, execute files, and modify the permissions of other users neither you nor root.

Read man fstab and man mount for more details, or you can also read the middle section ("Sharing partittions between OSes") of a tutorial I wrote that offers what I hope is a more "human-readable" explanation of the issues involved.

Hope this helps.
 
Old 05-06-2004, 03:28 AM   #3
gchandler
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Linux Mint 17.3
Posts: 86

Original Poster
Rep: Reputation: 15
I really appreciate that advice. I hadn't realised (newbie, ....still, I guess!) that you cannot change permissions of a mounted drive, and had never thought of mounting it somewhere sensible like my home directory! Now have access through my username rather than as root.

Great!
 
Old 05-06-2004, 04:00 AM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Glad to have been of help .
 
  


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
Dual-Boot: Shared Drive Access Problem TotalNoob Linux - General 3 01-18-2007 01:11 PM
shared folder permissions for SFTP jawilson Linux - Networking 1 07-07-2005 02:42 PM
reiserfs shared drive r/o problem munkie_poo Slackware 2 07-06-2005 06:41 AM
Permissions Problem with FAT32 Drive lawrencegoodman Linux - Newbie 4 11-13-2003 12:23 PM
fat drive permissions problem llimllib Linux - General 2 07-18-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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