We help IT Professionals succeed at work.

CFFile Attributes

bptacek
bptacek asked
on
My problem is when I upload a picture using the cffile tag, to my LinuxMandrake/Apache Webserver, it sets the permissions for just a user on the system.  I want it to be set to everyone, for read access when the picture is uploaded.  I have told my file directory to inheritpermissions and send permissions to all subfolders, but the problem is when I upload the pic, and it just gives permission to one of my users on my system, so the person on the web trying to view the pic, gets an "Access Denied" error, until I go change the permission manually.  I am not sure where the change needs to take place.  Any ideas?

Thanks
Ben
Comment
Watch Question

Commented:
add MODE=666 to your cffile tag.

CJ

Commented:
I meant MODE=644

Author

Commented:
i will give it a shot, later tonight and let you know it solves the problem.

Thanks!
Ben
Commented:
any updates on this?

Author

Commented:
I will have an update no later than tonight, sorry cheekyci.

Author

Commented:
Sorry about the delay cheeky, it works now!

Commented:
Glad I could help.  Thanx for the "A"

CJ

Explore More ContentExplore courses, solutions, and other research materials related to this topic.