|
wilshire
free radical


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?
|
blink
eye of horus



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.
--------------------
|
wilshire
free radical


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
|
blink
eye of horus



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.
--------------------
|
wilshire
free radical


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.
|
supercollider
superconducting


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!
|
Gijith
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'?
|
|