Home | Community | Message Board


This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post Pages: 1
Offlinewilshire
free radical
Male User Gallery

Registered: 05/11/05
Posts: 2,421
Loc: SE PA
Last seen: 14 years, 3 days
annoying linux file permissions issue
    #5292254 - 02/12/06 06:20 PM (17 years, 11 months ago)

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?


--------------------



Extras: Filter Print Post Top
Invisibleblink
eye of horus
 User Gallery

Folding@home Statistics
Registered: 03/31/02
Posts: 11,349
Loc: Geographic Location (Stat...
Re: annoying linux file permissions issue [Re: wilshire]
    #5292262 - 02/12/06 06:22 PM (17 years, 11 months ago)

please post the command you are using to mount, and, if applicable, the entry in /etc/fstab for it.


--------------------


Extras: Filter Print Post Top
Offlinewilshire
free radical
Male User Gallery

Registered: 05/11/05
Posts: 2,421
Loc: SE PA
Last seen: 14 years, 3 days
Re: annoying linux file permissions issue [Re: blink]
    #5292282 - 02/12/06 06:27 PM (17 years, 11 months ago)

it's mounted automatically at boot, but if i want to mount or unmount it:

sudo umount /dev/hda4

or

sudo mount /dev/hda4

fstab entry:

/dev/hda4 /shared vfat defaults 0 0


--------------------



Extras: Filter Print Post Top
Invisibleblink
eye of horus
 User Gallery

Folding@home Statistics
Registered: 03/31/02
Posts: 11,349
Loc: Geographic Location (Stat...
Re: annoying linux file permissions issue [Re: wilshire]
    #5292316 - 02/12/06 06:42 PM (17 years, 11 months ago)

Quote:

wilshire said:
it's mounted automatically at boot, but if i want to mount or unmount it:

sudo umount /dev/hda4

or

sudo mount /dev/hda4

fstab entry:

/dev/hda4 /shared vfat defaults 0 0




try

/dev/hda4 /shared vfat rw,user,auto 0 0

that will allow you read/write access, eliminate the sudo and automount.

add ,umask=022 after auto if you have issues with permissions when copying from that /share to ~/ for example.

try that and let me know how it goes.


--------------------


Extras: Filter Print Post Top
Offlinewilshire
free radical
Male User Gallery

Registered: 05/11/05
Posts: 2,421
Loc: SE PA
Last seen: 14 years, 3 days
Re: annoying linux file permissions issue [Re: blink]
    #5292396 - 02/12/06 07:05 PM (17 years, 11 months ago)

i tried something like that, and it seems to have worked. thanks.


--------------------



Extras: Filter Print Post Top
Invisiblesupercollider
superconducting

Folding@home Statistics
Registered: 10/13/00
Posts: 1,234
Loc: Waxahachie
Re: annoying linux file permissions issue [Re: wilshire]
    #5292619 - 02/12/06 08:19 PM (17 years, 11 months ago)

Yeah, nothing you mount as root will be writeable (or even readable?) by user. You have to put the "user" option in the fstab entry, then mount as user.


--------------------
Supercollider? I just met her!


Extras: Filter Print Post Top
InvisibleGijith
Daisy Chain Eater

Registered: 12/04/03
Posts: 2,400
Loc: New York
Re: annoying linux file permissions issue [Re: wilshire]
    #5292650 - 02/12/06 08:29 PM (17 years, 11 months ago)

yeah, wilshire, if possible, do you know exactly what you did?
I have issues like this already and they're gonna get worse once I add more partitions this week.


--------------------
what's with neocons and the word 'ilk'?


Extras: Filter Print Post Top
Jump to top Pages: 1


Similar ThreadsPosterViewsRepliesLast post
* linux file system troubles monoamine 963 7 05/22/04 01:55 AM
by AhronZombi
* linux shell script help OJK 985 7 05/23/06 12:21 PM
by OJK
* Trouble dual booting XP/Linux *update* Aiko Aiko 2,036 13 01/27/06 12:57 AM
by Vvellum
* windows permissions? wilshire 597 5 12/25/05 08:39 PM
by ThePredator
* gentoo 1 - automan 0 || UPDATE: AUTOMAN WINS IN FINAL SECONDS automanM 1,170 10 04/30/05 10:37 PM
by automan
* OS with support for encrypted file systems? OJK 1,216 9 07/06/06 06:07 AM
by OJK
* Linux vs. M$
( 1 2 all )
drtyfrnk 2,471 26 12/28/05 12:29 PM
by Huehuecoyotl
* Loading Linux Live (Knoppix) Mushie_Man 697 3 09/17/05 03:05 PM
by Vvellum

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
828 topic views. 0 members, 0 guests and 6 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.023 seconds spending 0.007 seconds on 14 queries.