How create a directory with full permiss for everybody

brouwers roland lx roland at cat.be
Fri Aug 11 15:22:59 UTC 2006


On Fri, 2006-08-11 at 09:52 -0500, Jeff Vian wrote:
> On Fri, 2006-08-11 at 12:39 +0000, Nathan J Crubel wrote:
> > Check the permissions on the file.  They also need to be set to allow anyone to change the file.
> > 
> > Nathan
> > 
> No they don't.   If the user is a member of the group that owns the file
> then the group permissions apply.
> 
> Remember the permissions priority in Linux.
> If you are the owner, _only_ the owner permissions apply
> If not the owner but a member of the group then _only_ the group
> permissions apply.
> If neither the owner nor a group member then the other permissions
> apply.
> 
I created a directory chmod 777 owner tdp group tdpgr
as a user frank I created a file, the owner is frank the group is tdpgr
the permissions were -rw-r--r--
as a user roland I opened the file and of course it was read only.

So please explain me how you do it, because I can't.

roland
> > 
> > > 
> > > From: brouwers roland lx <roland at cat.be>
> > > Date: 2006/08/11 Fri PM 12:31:50 GMT
> > > To: For users of Fedora Core releases <fedora-list at redhat.com>
> > > Subject: How create a directory with full permiss for everybody
> > > 
> > > Hello,
> > > 
> > > I would like to create a directory with full permissions for everybody.
> > > So I search google and:
> > > create a user tdp 
> > > create a group tdpgr
> > > create directory /home/tdpgr
> > > assigned all users to that group
> > > chown -R tdp:tdpgr /home/tdpgr
> > > chmod -R 2775 /home/tdpgr
> > > 
> > > When a doc is created from any user it will get the permission -rwxrwxr-
> > > x
> > > When some user opens the doc it is opened as read-only
> > > Why ??????





More information about the fedora-list mailing list