You can only set one user as owner of a file/directory
but u can create group. If you have the default
mandrake installation, I think the dir /home is
already created. See it's permission by:

cd /home
ls -lag .
you will see the permission of entries in that
directory like 
.       owner    group_owner     "drwxrwxr_x"

The 1st bit of the permission "drwxrwxr_x" mean that
"." is a directory file, the next 3 bit rwx
mean that the owner of . have the right to read,
write, and enter this directory. The next 3 bit
discribe the same permission for the member of the
group, and the rest of the user have only right for
read and enter this directory.

To enable the right for writing in this directory you
can change the permission of . to "drwxrwxrwx" that
mean every body is allowed to read write execute the
file "." (this directory, execute a directory mean to
enter it).
I'm not so sure, there is a standard group which
belongs to every user (group all). As root u can
change the group-owner of /home to belong to all 

# chgrp /home all
# chmod g+rwx /home

Every user will then have rwx permission in /home
caused of their belongness to the group all. You can
also create a particular group by (see man grp or
group) and change the permission of file/directory to
set special permission to that particular group only.

See also:
man chown, chmod, chgrp, useradd/adduser, umask

I suggest not to set the permission rwxrwxrwx for
/home but create /home/pub instead for the users
directory sharing purpose. Like
mkdir /home/pub
cd /home/pub
mkdir bin src docs share lib etc gif pics
cd ..
chmod -R ug+rwx pub
chmod -R o+rx pub

Read a unix book ;)~
he he

--- DRX <[EMAIL PROTECTED]> wrote:
>      I want to have a directory in /home which every
> user can get to, and
> put files in as well as take files from.  Who should
> I set as owner?  Is
> there some kind of function so that I can set
> "anyone" as owner?
> 
>                                                     
>       DRX


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

Reply via email to