[opencms-dev] vfs mappable in unix?
Christian Steinert
christian_steinert at web.de
Wed Feb 8 22:36:32 CET 2012
> An idea came to me - maybe it's already there (in form of webdav) but I'm not
> sure whether to the extent I would like to have it:
>
> I find myself pointing an clicking around when creating new structured websites
> when using the OpenCMS workplace.
>
> Wouldn't it be much easier if one could to all that by some kind of shell
> scripting, using mv,cp,rm and all the unix tools.
>
> There are so many file systems that you can mount in unix. Isn't there
> a way to mount the OpenCMS-VFS?
You could try davfs and mount the opencms vfs through webdav.
Install the davfs package and just create a folder /mnt/opencms and add the following to your /etc/fstab
http://127.0.0.1:8080/webdav/ /mnt/opencms davfs noauto,user,rw,file_mode=777,dir_mode=777 0 0
After that you should be able to mount the opencms vfs with "mount /mnt/opencms". You may have to be root to do so, though davfs is not really multi-user capable it seems.
good luck!
Christian
More information about the opencms-dev
mailing list