Public Directories
Ryan Dean Bair
ryandbair at gmail.com
Fri Jun 16 01:38:45 BST 2006
Wow, certainly didn't expect so much conversation on this!
There is a big problem that I ran into making the folder simply world
read/write.
ryan at fortran:~$ mkdir test
ryan at fortran:~$ chmod 1777 test -R
ryan at fortran:~$ cd test/
ryan at fortran:~/test$ touch testfile
ryan at fortran:~/test$ ls -l
total 0
-rw-r--r-- 1 ryan ryan 0 2006-06-15 20:30 testfile
So although the directory and all of its origonal contents are world
accessable, the newly created contents are only modifiable by the owner.
Obviously not what we are after.
The ACLs I have set up define a default owner, group and permissions for ALL
data in the directory. So one user can add things, and everyone is free to
read/write/delete the entire directory. Not the best solution in some cases,
but this would be useful for many family computers.
On Wednesday 14 June 2006 10:52 pm, email.listen at googlemail.com wrote:
> Am Wed, 14. June 2006 22:34 schrieb Ivan Krstic:
> > Ryan Dean Bair wrote:
> > > On my machine I have a folder /home/pub which uses ACLs to make it
> > > readable and writeable by all users on the system, newly added content
> > > also remains publically accessable. This works great for my wife and I
> > > to easily exchange documents, and keep our picture collection
> > > accessable to both of us.
> >
> > Is this functionally different from how /tmp traditionally works on Unix
> > systems via the sticky bit?
>
> Of course it is.
> The /tmp folder is cleaned on boot!
> So I would judge this a bad place keep a picture collection.
>
> But the idea of Ryan is close to what is offered by the new documentation
> link/folder.
>
> regards,
> thomas
More information about the ubuntu-devel
mailing list