chown

Bob Chiodini rchiodin at bellsouth.net
Thu Sep 1 13:28:56 UTC 2005


On Thu, 2005-09-01 at 15:07 +0200, Liloulinx wrote:
> Kenneth Porter wrote:
> 
> > --On Thursday, September 01, 2005 4:41 AM +0200 Liloulinx 
> > <alilou_linux at yahoo.fr> wrote:
> >
> >> Evry time when I create a directory, automaticaly the system make the
> >> root as the owner of this directory. When I (the user or the root) 
> >> try to
> >> change its owner (by using the chown commande), the answer of the system
> >> is "not allowed Operation".
> >> Where is the problem? is there a bad parameter...
> >
> >
> > What filesystem are you doing this on? For some kinds of filesystem, 
> > the whole filesystem is owned by the user configured at mount time.
> >
> >
> it's a VFAT system.
> Yes it's true in /home/my_directory I can create a directory and I'm the 
> owner, but when I move it to the other partition, it became 
> automatically the property of root (the owner)!! Is there solution to 
> this???
> 

One way is to set the uid and gid of the owner at mount time.  man
mount.  These options can also be set in fstab.

Bob...




More information about the users mailing list