[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unrestrict chown?



On Tue, 2008-12-09 at 22:40 +0100, Christopher Zimmermann wrote:
> Hi!
> 
> On my debian box using linux kernel its not possible to give away
> files:
> 
> madroach@machine:~% touch foo
> madroach@machine:~% chown otheruser foo
> chown: changing ownership of `foo': Operation not permitted
> 
> only root can change file owners. Is it possible to configure this
> behaviour and allow all users to chown their own files?

If the users need to share the file, they have something in common!
So,
- put the users together in a group (adduser user group)
- chgroup the file (chgrp group file)
- give the document rw permissions (chmod +permissions file)

Best,

Rob


Reply to: