Re: chmod & chown don't work
From: Cheng Hong (hcheng_at_psl.com.sg)
Date: 12/31/04
- Next message: Hagar: "Re: Stops on install mount."
- Previous message: Hagar: "Re: Stops on install mount."
- In reply to: Dariusz Kuliński / TaKeDa: "Re: chmod & chown don't work"
- Next in thread: Dariusz Kuliński / TaKeDa: "Re: chmod & chown don't work"
- Reply: Dariusz Kuliński / TaKeDa: "Re: chmod & chown don't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 10:09:20 +0800
Thanks. Now it is working fine. Just forgot that there is no security in
FAT32.
As also pointed out by Torfinn, changing the properties of the mount point
gave the the same effect.
cheers
Cheng
Dariusz Kuli?ski / TaKeDa wrote:
> On Thu, 30 Dec 2004 14:39:24 +0800, Cheng Hong wrote:
>
>> Hi all,
>>
>> Recently, I successfully mounted the FAT32 partition to my FreeBSD5.3
>> box. Now, the problem is that I can only work on it as root. The
>> directory created cannot be changed to allow other user's access. Anyone
>> has experience on this?
>
> What do you expect? FAT32 doesn't have any security settings. So you
> cannot change rights of individual files/directories. Only thing you can
> do is set rights on mount time:
>
> In man mount_msdosfs there are flags:
> | -u uid Set the owner of the files in the file system to uid. The
> | default owner is the owner of the directory on which the
> | file system is being mounted.
> |
> | -g gid Set the group of the files in the file system to gid. The
> | default group is the group of the directory on which the
> | file system is being mounted.
> |
> | -m mask
> | Specify the maximum file permissions for files in the file
> | sys-
> | tem. (For example, a mask of 755 specifies that, by
> | default, the owner should have read, write, and execute
> | permissions for files,
> | but others should only have read and execute permissions.
> | See
> | chmod(1) for more information about octal file modes. Only
> | the
> | nine low-order bits of mask are used. The value of -M is
> | used if
> | it is supplied and -m is omitted. The default mask is
> | taken from the directory on which the file system is being
> | mounted.
>
>
> For more info read man mount_msdosfs
>
- Next message: Hagar: "Re: Stops on install mount."
- Previous message: Hagar: "Re: Stops on install mount."
- In reply to: Dariusz Kuliński / TaKeDa: "Re: chmod & chown don't work"
- Next in thread: Dariusz Kuliński / TaKeDa: "Re: chmod & chown don't work"
- Reply: Dariusz Kuliński / TaKeDa: "Re: chmod & chown don't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|