vdub Posted June 7, 2012 Share Posted June 7, 2012 (edited) I am following this how to. http://tech-ape.com/wp-content/uploads/2012/06/NSReverseEngineering-WordPress.html The problem it was written for Ubuntu and I cant get the permissions right. In this section groupadd -g 3003 aid_inet # this works usermod -aG aid_inet proxy # usermod does not have -a option and I have no proxy group ???? #Make an images directory for storage mkdir -p /var/www/images # this works think god, lol. chown proxy:proxy /var/www/images # I have no user or group named proxy usermod -aG proxy www-data # agian no user proxy and no -a option in usermod usermod -aG www-data proxy # " " " " " " " " " " " " " " " " " " " " " " " " I have no proxy user. I am at a loss as to how to make this work. I have the arp poisoning working but all the images just give 403 - Forbidden errors. All the images in the www directory are owned by squid and I can't even view them on the machine. If I chmod the files I can view them and can see that they have been flipped. Any help would be greatly appreciated. This would work perfect if I could just give the files in the images directory 777 permissions. However squid will not allow me to tell it what permissions I want to use. However, the files are downloaded with wget so I am not sure where the owner is coming from. Edited June 7, 2012 by vdub Quote Link to comment Share on other sites More sharing options...
vdub Posted June 7, 2012 Author Share Posted June 7, 2012 (edited) Figured it out. In the squid.conf change umask to 022 should give you 644, by default its 027 making the permissions 600. This is why I was getting the 403's. Edited June 7, 2012 by vdub Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.