joerg | everybody sleeping here? | 00:00 |
---|---|---|
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:01 |
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:02 |
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:03 |
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:04 |
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:20 |
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:21 |
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:23 |
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:24 |
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:25 |
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:26 |
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:28 |
joerg | doesn't that result in one big 450 gig tar file? :) | 00:30 |
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:31 |
joerg | to get a tar with only the stuff that changed since yesterday or so | 00:32 |
=== mhall119|work is now known as mhall119|SCaLE8x | ||
=== joerg_ is now known as joerg | ||
sbalneav | Morning all | 15:11 |
joerg | evneing | 15:34 |
vmlintu | afternoon | 15:37 |
joerg | nautilus is doing strange things ;) | 15:39 |
vmlintu | joerg: the file sharing problem is something I've come across too | 15:40 |
joerg | when mounting a webdav folder | 15:40 |
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:41 |
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:42 |
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:43 |
joerg | mabe nautilus doesn't like it if it is not the root dir of the web server | 15:44 |
joerg | maybe I should ask the gnome guys?! | 15:46 |
alkisg | !info icedtea6-plugin jaunty | 16:09 |
ubottu | icedtea6-plugin (source: openjdk-6): web browser plugin based on OpenJDK and IcedTea to execute Java applets. In component main, is extra. Version 6b14-1.4.1-0ubuntu12 (jaunty), package size 75 kB, installed size 292 kB | 16:10 |
sbalneav | Ha! LTSP 5.2 made slashdot. | 16:10 |
alkisg | !info icedtea6-plugin hardy | 16:10 |
ubottu | Package icedtea6-plugin does not exist in hardy | 16:11 |
highvoltage | sbalneav: seen this before? http://thechive.com/2010/02/22/epic-church-in-spain-19-photos/ | 21:51 |
sbalneav | highvoltage: That's Gaudi's church right? | 21:59 |
sbalneav | Sagrada Famillia? | 22:00 |
sbalneav | (I think) | 22:00 |
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:01 |
Lns | looks like castle greyskull! | 22:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!