[fixed] Uploaded image in news section gets wrong permission

Forum rules
Only administrators can post or move items here.
Post Reply
swgreed

[fixed] Uploaded image in news section gets wrong permission

Post by swgreed »

Steps:
1. create a user defined news field of type "file" named "test"
2. create a news article and upload a image (Simplex theme will try to display the image to this news) using the just created field
3. the image will be stored in "uploads/news/id1/filename.jpg"
4. the image will not be displayed as it gets the "wrong" owner permissions "000" instead of e.g. "644"

(5. if you delete the file "uploads/news/id1/filename.jpg" and re-upload it using the "FileManager" it will get the correct owner permissions "644", so I guess the error must be withing the upload process in the news section)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Uploaded image in news section gets wrong permissions

Post by calguy1000 »

Fixed in svn, thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
swgreed

Re: [fixed] Uploaded image in news section gets wrong permis

Post by swgreed »

creation works, but deletion does not.
if you check the checkbox for deleting the file, it will be removed in the news interface dialogue,
however the image still exists in "uploads/news/id1/" and therefore you can still see the file in the FileManager
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: [open] Uploaded image in news section gets wrong permiss

Post by calguy1000 »

That is fixed now too. thanks
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Closed Issues”