[00:00] <joerg> everybody sleeping here?
[00:01] <joerg> maybe I should give you something to discuss ;)
[00:01] <joerg> some of you know that I am trying to implement that portal server for schools
[00:01] <joerg> anyway this is more a general question
[00:01] <joerg> about files and directories.
[00:01] <joerg> it happens that a student or teacher wants to share files with others.
[00:02] <joerg> this is possible in a very static way: an admin creates a group for "Course 12 - Biochemistry" for example, creates /group/biochem and sets rw permissions for the group to it.
[00:03] <joerg> how could we do that in a more dynamic way on a unix like platform?
[00:03] <joerg> I mean: a teacher or student should be able to found an interest group of a bunch of other users and himself and share files with them.
[00:04] <joerg> without needing to ask an admin to add a system group and a folder and set the required permissions
[00:04] <joerg> have u got any ideas/thoughts? I have posix acls in mind, but never really played around with that.
[00:20] <sbalneav> If you're talking about storing on an actual unix filesystem, there's no real way to get around adding groups, and needing priviledge to chmod directories.
[00:21] <sbalneav> If you want to dynamically add files into a database, store them as blobs, then provide access to them through a web page, that can be more dynamic.
[00:21] <sbalneav> You could also possibly provide access to the files in a unix-like filesystem manner through FUSE, from the database.
[00:23] <joerg> he he
[00:23] <joerg> same thought ;)
[00:23] <joerg> sbalneav, my idea was to store the data somewhere in the fs, but store the permissions in a database
[00:24] <joerg> so on unix, all the files and dirs would be owned by www-data
[00:24] <joerg> which is not that nice
[00:24] <joerg> but probably the only way
[00:25] <sbalneav> No, I'd just store them in the database.
[00:25] <joerg> and then write some fuse stuff to mount it locally and export it with sftp or whatever
[00:25] <joerg> why?
[00:25] <sbalneav> Why not?
[00:25] <joerg> 80 gigs in a database?
[00:26] <sbalneav> I've got 450 gigs at work
[00:26] <sbalneav> PostgreSQL can handle terabytes.
[00:26] <joerg> cool :)
[00:26] <joerg> and how do u backup that stuff?
[00:28] <sbalneav> We back it up with just the standard Postgres backup tools.
[00:28] <sbalneav> snapshot off to a tarfile, then rsync to do offsite backups.
[00:28] <sbalneav> we're getting to the point where we'd want to implement mirroring.
[00:30] <joerg> doesn't that result in one big 450 gig tar file? :)
[00:31] <joerg> most schools have these slow dsl connections so we'd need to make sure that we minimize the amount that is uploaded to the offsite backup
[00:31] <joerg> but I guess postgres can do some incremental stuff as well
[00:32] <joerg> to get a tar with only the stuff that changed since yesterday or so
[15:11] <sbalneav> Morning all
[15:34] <joerg> evneing
[15:37] <vmlintu> afternoon
[15:39] <joerg> nautilus is doing strange things ;)
[15:40] <vmlintu> joerg: the file sharing problem is something I've come across too
[15:40] <joerg> when mounting a webdav folder
[15:41] <joerg> vmlintu, I have just implemented a basic filesystem in the database of my web app thing
[15:41] <joerg> to do the file sharing stuff
[15:41] <joerg> the only remaining pain is webdav
[15:42] <joerg> davfs2 mounts it and it works
[15:42] <joerg> but nautilus doesn't want it.
[15:42] <joerg> very very strange
[15:42] <joerg> actually the webdav-url is http://localhost:8000/fs/dav/joerg
[15:42] <vmlintu> nautilus and webdav have always given me trouble when using apache+mod_dav
[15:42] <joerg> nautilus does an OPTIONS request on that path
[15:42] <joerg> then a PROPFIND
[15:43] <joerg> and after that, it does the same thing on /fs1/dav
[15:43] <joerg> which fails because that url is not webdav enabeld.
[15:44] <joerg> mabe nautilus doesn't like it if it is not the root dir of the web server
[15:46] <joerg> maybe I should ask the gnome guys?!
[16:09] <alkisg> !info icedtea6-plugin jaunty
[16:10] <sbalneav> Ha! LTSP 5.2 made slashdot.
[16:10] <alkisg> !info icedtea6-plugin hardy
[21:51] <highvoltage> sbalneav: seen this before? http://thechive.com/2010/02/22/epic-church-in-spain-19-photos/
[21:59] <sbalneav> highvoltage: That's Gaudi's church right?
[22:00] <sbalneav> Sagrada Famillia?
[22:00] <sbalneav> (I think)
[22:01] <highvoltage> sbalneav: I don't know. aparently they started building it like, 200 years ago and it will only be finished in another 20 years
[22:01] <highvoltage> 16 years, at least
[22:11] <Lns> looks like castle greyskull!