[Imc-aotearoa-tech] Error message on upload

finn c. finn at animal-liberation.org.nz
Mon Aug 25 15:15:16 PDT 2003


Hi,

> When I try to put a file into the aimcstatic directory I get the following (for example) error message:
> 
> UPLOAD FAILED
> Error: Couldn't setstat on "var/www/www.cat.org.au/active/aotearoa/local/aimcprint/wel.htm": Permission denied

Ok, this is happening because your sftp program is trying to set
different file permissions to the uploaded file than the current ones.
Most likely it is trying to take away the ability for users in the
aimcstatic group to write to it, but it is having troubles because you
must be the owner of the file to change the permissions.

This isn't bad, but it's annoying when you are uploading.

I have altered the files in the ~/aimcprint and ~/static directories so
that they are owned by the aimcstatic user [you], and I have altered the
default file permissions for the aimcstatic user so when new files are
created, they are group writable. [geek talk: altered umask in
.bash_profile].

Unfortunately I don't know where/if you can alter default file permissions for
individual sftp users - I'll ask around. 

seeya,
finn


More information about the imc-aotearoa-tech mailing list