OK.... perhaps I need to rephrase the question, having figured out
some of the background.

I need to chmod new files that I upload so that their permissions are
664. Currently they're uploaded with the local permissions, 644.

What's the best method that I should look into? Should I make an alias
so "put" is always followed by a chmod? Or do I need to make a
script..? I haven't done either yet, but I can learn. As ever, my work
load limits me from learning everything now, so I'd like to know what
to focus on.

My umask is set to 002, if that's relevant. I thought that would make
all new files & newly created folders set to 664 or 775, but
apparently not.

thx,
cc

On 7/9/07, Complex <[EMAIL PROTECTED]> wrote:
Hello,

This seems like a very basic issue that must have an obvious solution,
but I've searched the man page, this list, and the web without
success.

When I put files from my local computer to my web server, the
permissions end up being 644 (read-only for group). My coworkers need
the permissions to be 664 (read & write for group) to be able to edit
them, of course.

How can I make this happen without stopping to chmod the file every
single time I upload?

I figured there must be a setting in lftp, but not so near as I can
tell. Nor is there a relevant argument to put.

I've tried to find a way to both put a file & chmod it with one
command, but I haven't gotten that to work yet. I suspect there's a
much easier way.

Can anyone help, please?

Background:
lftp version 3.5.4
Mac OS X 10.4.10
and the 'Site' command isn't allowed on my web server, if that's relevant.

thanks,
CC

--
--> CC <---



--
--> CC <---

Reply via email to