[ic] File permissions

Mike Heins mikeh@minivend.com
Sat, 26 Aug 2000 13:46:16 -0400

Quoting Craig Beasland (craig@hotmix.com.au):
> Hi there,
> I would like to be able to set up the system so that file uploads of images
> are possible.  I have the setup at the moment so that images can be
> uploaded, they go into the /images directory (relative under the catalog).
> I have a link from the web site to this directory, but the files in this
> folder are -rw-rw----, so the "web server user" cant display them.
> Is there any way to have minivend write the permissions differently or is
> this an OS issue.
> I am still using 4.04 and freebsd.

This is handled in Interchange, but not in MV4.0x. I think you could probably
modify the uploader to accept a umask=022 parameter in the [value-extended ...]
tag which does the file write.

Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>

Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown