Re: How create a directory with full permiss for everybody

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

 



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
> 
> 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux