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

Re: [ic] RE: [ic] Simple question: Upload file attributes


On Thu, 2003-01-30 at 17:23, Jarod McMillan wrote:
> Without seeing how you have things setup, you could change your users
> umask to 022 or create a new user with the umask of 022 and chmod your
> upload script with the sticky bit.
> 
Looking at /usr/lib/interchange/bin/interchange, it turns out that (what
seems to be) the upload handler already contains the following:

Vend::Interpolate::tag_value_extended(
    $file_fields[$i],
    {
        outfile => $outfile,
        umask => '022',
        yes => '1',
    }
)

which looks like it's doing what it's supposed to. I'll see if I find
any more clues as of what could be causing different attributes, only
two of the files in the upload directory had different attributes set.
Might be a user error...

Regards,

Marc Brevoort

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.