Link to home
Start Free TrialLog in
Avatar of bptacek
bptacek

asked on

CFFile Attributes

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
Avatar of cheekycj
cheekycj
Flag of United States of America image

add MODE=666 to your cffile tag.

CJ
I meant MODE=644
Avatar of bptacek
bptacek

ASKER

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

Thanks!
Ben
ASKER CERTIFIED SOLUTION
Avatar of cheekycj
cheekycj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bptacek

ASKER

I will have an update no later than tonight, sorry cheekyci.
Avatar of bptacek

ASKER

Sorry about the delay cheeky, it works now!
Glad I could help.  Thanx for the "A"

CJ