Re: Setting file permissions on published files

François Pinard <[email protected]> Sat, 30 Jul 2005 08:32:01 -0400
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
[Bram Moolenar]

> Thore Karlsen wrote:

> > When publishing files through SCP or FTP, is there any way to
> > specify which permissions the files should have on the server they
> > are uploaded to?

> [...] I'm not sure what happens for FTP.

This is decided in part by the capabilities of the FTP daemon at the
remote end, which admittedly much vary from server to server.  That is,
how the FTP server was configured and started.

I did not check with RFC's, but from the fact the local FTP agent here
offers both `umask' and `chmod' user commands, affecting remote files, I
would guess the FTP protocol might have the necessary commands too.

This is all theory.  How it would translate in `aap', I do not know.

-- 
François Pinard   http://pinard.progiciels-bpi.ca


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click