[opencms-dev] Re: Opencms ftpd module

Ruben Malchow ruben at khm.de
Wed May 24 16:11:10 CEST 2006


hello joe,

actually, some parts of it already implemented. i was thinking of having 
"virtual" files (that's _extra_ virtual files, really) with the ending 
".cms_properties" or something. but that kinda sucks. "/metadata" sucks 
too, because to get from a file to the corresponding metadata, you would 
have to go all the way up and then down again

would a ".metadata" or "_metadata" folder make sense? any suggestions on 
a naming scheme?

.rm


Joe Desbonnet wrote:
> Have you thought of any way of accessing file properties via FTP? This
> could be useful. One idea I have is having a virtual top level
> directory (eg /metadata). So if you want to access properties of
> /sites/mySite/myDir/mySubDir/myFile.html  you access
> /metadata/sites/mySite/myDir/mySubDir/myFile.html.
> 
> You get an XML file with all the file metadata. Likewise you could set
> properties by writing to the same virtual XML file.
> 
> Joe.
> 
> On 5/24/06, Ruben Malchow <ruben at khm.de> wrote:
>>
>> hi roland,
>>
>> i have now introduced a new parameter called "chroot", which is actually
>> not exactly a correct name. what it does is this: throw the user in the
>> specified directory and preventing him from CDUPing or CWDing above it.
>>
>> this means that the users may see
>>
>>         /Offline/sites/foobar
>>
>> as their cwd, but can't go to
>>
>>         /Offline/sites
>>
>> it is specified as a module parameter in the form
>>
>>         chroot=[PROJECTNAME]/[path within project]
>>
>> this is a server-wide setting, so all users will see this. a way to get
>> around that would be to introduce another setting that states usernames
>> to be excepted from this. would that be of interest?
>>
>> new archive at
>>
>>         http://disco.kalkatraz.de/opencmsftpd
>>
>> pling!
>>
>> .rm
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please 
>> visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 



More information about the opencms-dev mailing list