|
Home > Archive > alt.os.linux > October 2002 > chmod 777 -R on a fat32 partition
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
chmod 777 -R on a fat32 partition
|
|
| Shannon Lloyd 2002-10-28, 10:24 pm |
| Hi,
I have a fat32 partition that I'm using to share my mp3s (and other assorted
files) between RH and XP, and I would like to give full RWX permissions
across the board (ie 777) to every file on that partition, so I su'd to root
and tried a chmod -R 777 /mnt/winf , which is where I've mounted the
partition, but I'm getting the following error: "requested: 0777, actual:
0755. Operation not permitted". Can someone please tell me (a) why this is
not permitted, seeing as everything in that partition is owned by root, and
(b) what I should do to chmod everything in the partition.
Alternatively, is there a better way to achieve what I want to achieve (ie
sharing certain files between the two OSs - I want to be able to read and
write to the partition from either OS) without doing this to the partition?
Thanks,
Shannon
| |
| Shannon Lloyd 2002-10-28, 10:24 pm |
| "Shannon Lloyd" <sjlloydNO@SPAMlikwid.com> wrote in message
news:TVnv9.12036$jE1.39672@news-server.bigpond.net.au...
> Hi,
> I have a fat32 partition that I'm using to share my mp3s (and other
assorted
> files) between RH and XP, and I would like to give full RWX permissions
> across the board (ie 777) to every file on that partition, so I su'd to
root
> and tried a chmod -R 777 /mnt/winf , which is where I've mounted the
> partition, but I'm getting the following error: "requested: 0777, actual:
> 0755. Operation not permitted". Can someone please tell me (a) why this is
> not permitted, seeing as everything in that partition is owned by root,
and
> (b) what I should do to chmod everything in the partition.
> Alternatively, is there a better way to achieve what I want to achieve (ie
> sharing certain files between the two OSs - I want to be able to read and
> write to the partition from either OS) without doing this to the
partition?
> Thanks,
> Shannon
>
>
Yes, that subject line was meant to read chmod -R 777... still need help
though.
Thanks.
| |
| Bill Marcum 2002-10-28, 11:24 pm |
| On Tue, 29 Oct 2002 04:13:39 GMT,
Shannon Lloyd <sjlloydNO@SPAMlikwid.com> wrote:
> Hi,
> I have a fat32 partition that I'm using to share my mp3s (and other assorted
> files) between RH and XP, and I would like to give full RWX permissions
> across the board (ie 777) to every file on that partition, so I su'd to root
> and tried a chmod -R 777 /mnt/winf , which is where I've mounted the
> partition, but I'm getting the following error: "requested: 0777, actual:
> 0755. Operation not permitted". Can someone please tell me (a) why this is
> not permitted, seeing as everything in that partition is owned by root, and
> (b) what I should do to chmod everything in the partition.
> Alternatively, is there a better way to achieve what I want to achieve (ie
> sharing certain files between the two OSs - I want to be able to read and
> write to the partition from either OS) without doing this to the partition?
> Thanks,
> Shannon
>
To change permissions of a FAT partition, you need to change the mount
options in /etc/fstab, specifically "umask=000" to allow full access to
all users.
| |
| Mark Landreville 2002-10-29, 2:24 am |
| Fat32 doesn't support file ownership since it is made for a single user
OS. Anything on your DOS partitions is automically owned by root when
it is mounted by your linux system. You must make the entire partition
world writeable by modifying your /etc/fstab file. See "man fstab"
Mark
Shannon Lloyd wrote:
> Hi,
> I have a fat32 partition that I'm using to share my mp3s (and other assorted
> files) between RH and XP, and I would like to give full RWX permissions
> across the board (ie 777) to every file on that partition, so I su'd to root
> and tried a chmod -R 777 /mnt/winf , which is where I've mounted the
> partition, but I'm getting the following error: "requested: 0777, actual:
> 0755. Operation not permitted". Can someone please tell me (a) why this is
> not permitted, seeing as everything in that partition is owned by root, and
> (b) what I should do to chmod everything in the partition.
> Alternatively, is there a better way to achieve what I want to achieve (ie
> sharing certain files between the two OSs - I want to be able to read and
> write to the partition from either OS) without doing this to the partition?
> Thanks,
> Shannon
>
>
| |
| Juergen Pfann 2002-10-29, 2:24 am |
| Bill Marcum wrote:
>
> On Tue, 29 Oct 2002 04:13:39 GMT,
> Shannon Lloyd <sjlloydNO@SPAMlikwid.com> wrote:
> > (cf. subject)
>
> To change permissions of a FAT partition, you need to change the mount
> options in /etc/fstab, specifically "umask=000" to allow full access to
> all users.
I'd like to elaborate on this: the chmod systemcall will
always fail on a mounted FAT partition (regardless whether
mounted as msdos or vfat, whether having 16 or 32 bit FAT(s)).
If you want to change the way the _not-really-existing_
permission bits are presented / mapped to the user(s),
you have to unmount the partition, and remount it with a
different umask option, period.
Juergen
|
|
|
|
|