[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Removing the ~ (tilde) Slightly OT Frontpage publish with owned files



> If you try to publish with FrontPage (to a RaQ 4 at least)
> and any of the
> files existing in the web directory you're publishing to
> are set as owned by
> anything but "nobody," FrontPage will generate an error
> saying something
> like "Can't set permissions on xyz" and refuse to publish.
> There are ways
> around that, but I don't want to create a big problem to
> solve a small one.
>

Sorry to disagree, but for the sake of the archives;

On a RaQ4, using Frontpage to publish, you can overcome the "Can't set
permissions on xyz" problems very very easily.
Simply set up, on your local hard drive copy of your web, any folder
which you don't want Frontpage to publish to as a FP subweb.
All that needs to be done then is to ensure that any htm, html, gif or
jpg files are owned by "nobody". Frontpage doesn't bother looking at
anything other than the html files in your subweb directories, so cgi,
pl etc files can all have their correct permissions and ownerships
without FP spitting its dummy out.

I use this method extensively for cgi-bins and the files they need to
contain. I create a subweb locally in FP, place the relevant files and
edit them into the correct structure locally, then create my cgi-bin
folder via ftp, and upload the contents also via ftp.
I then SSH in and change permissions on any htm files back to nobody,
then finally publish the rest of the web via FP, ensuring that in the
Publish settings that the tick box is not selected for Publish
Subwebs" et voila, my cgi's



Kind Regards

Si Watts
SiWIS http://www.siwis.co.uk

Don't Just Think Global, THINK LOCAL!