Re: spreadsheets are opened read only
| From: | David Robley | Date: | Thu, 25 Sep 2008 09:55:16 +0000 |
| Subject: | Re: spreadsheets are opened read only | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280907@lists.php.net to get a copy of this message | ||
Thodoris wrote:
>
>> If you are trying to open a file that has a URL instead of a local path,
>> then it will always be opened as read-only, and there is no way to
>> change this. If you are opening it using a local path (samba, nfs, fish,
>> etc) then I would check to see the file permissions. As the file is
>> being written by Apache from a form upload, the file will have Apache
>> permissions. Either exec out to a shell script and change the owner
>> (chown) of the file, or have Apache modify the persions with the
>> built-in PHP command chmod.
>>
>>
>> Ash
>> www.ashleysheridan.co.uk
>>
>>
>>
>
> Well what is bothering me is that the rights are identical to all dirs
> from the document root to all containing folders and I doubled checked
> that. Plus the rights are also the same.
>
> grrrrrr!!
>
> I think I may reconsider to change my career and start training
> elephants in a zoo or something.
The resulting amount of excrement will at least be less than what you get
dealing with some M$ applications :-)
Cheers
--
David Robley
Talk about memory! This system even has a sense of guilt!
Today is Pungenday, the 49th day of Bureaucracy in the YOLD 3174.