[dev] Gollem patch for Shared Folders

Chuck Hagenbuch chuck at horde.org
Sun Jan 25 19:35:52 PST 2004


Quoting Joel Vandal <jvandal at infoteck.qc.ca>:

> This patch allow to use the share class to create Shared Folders with 
> Gollem. I've made a lot of test and use this patch w/ the file VFS 
> backend since more that 1 year without problem.

I have this applied locally, and I'm a bit confused as to what it actually does.
It creates shares, but they don't seem to have much relation to what you can
browse or to permissions (I'm using the file-based VFS). The share drop down is
confusing, too; it (and the legend - what's that do?) implies that you can have
multiple selected, but you can't (though I did manage to get it so there were
*no* asterisks, too), and when I choose a share in it, I'm not necessarily
taken to that share.

Also, if I'm viewing my own folder, and navigate up through the filesystem to
someone else's folder, even if there's a share that exists for their folder, I
have the same permissions to it that I have to my own private files.

By the same token, if I'm viewing a share I have readonly access to, and I go
back to my home directory, I only have readonly access to my home directory.

I think the ideal functionality would be an option to tell Gollem to use Horde's
Perms API as the permissions system for a file or sql-based VFS, and if that
was set, to just set perms through the perms api on files/directories as
needed. I don't think Shares is a very intuitive way to approach it...

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."


More information about the dev mailing list