On Fri, 2006-08-11 at 16:52 +0200, roland brouwers wrote: > > > > > -----Original Message----- > > From: Ben Stringer <ben@xxxxxxxxxxx> > > Sent: Friday, 11. Aug 2006 15:26 +0200 > > To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> > > Subject: Re: How create a directory with full permiss for everybody > > > > On Fri, 2006-08-11 at 22:28 +0930, Tim wrote: > > > On Fri, 2006-08-11 at 22:50 +1000, Ben Stringer wrote: > > > > If you want every account to have access to the directory, there is > > > > already a category of permissions for that - no need to put everyone in > > > > a group. Just make sure the directory has permissions drwxrwxrwx, which > > > > can be done using "chmod 777 directory". > > > > > > I wouldn't do that, it gives unfettered access to *everything*. At > > > least doing what the original poster discussed, making it for a select > > > group of users, mitigates some of the security issues. > > > > I'm curious - how do you think adding every user to a group and > > providing group read/write/execute differs from providing global > > read/write/execute? > > > > I believe it is by definition identical. > > > > (And, as my first post says, I don't think either idea is advisable). > > > > Cheers, Ben > > > > > I you create a directory with chmod 777 and you create a file with openoffice, the permission wil be -rw-r--r-- owned by the user who created it. > How can you expect another user to open it and change it? > > The issue, as has already been mentioned, is the users umask. You can change the individual users umask with an entry in ~/.bashrc or change the umask for all users by making a change in /etc/bashrc so at login time all users would get something different than the default 022 umask. > > > > With samba you can tell to force a user when creating a file and when you do a disc mounting you also can inforce a user or permissions. Isn't there a way directly fo force permissions and users set to a created file? > > roland > cat belgium > >