Re: Cannot write to the web directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No I was able to set the limit higher. 

https://heskia.club/phptest.php If you check this page you can see that the upload is limited to 40 mb . 

I edited the php.ini file.

Now I don’t know if that helps but I think it worked at one time. Not sure when or what changed. I tried disabling the firewall to see. I still cannot get it to work. I checked the settings in /usr/local/etc/php/php-fpm.d , restarted Apache. I installed fcgi and added something to httpd. I tried permissions I made www also group user. 

Envoyé de mon iPhone

Le 19 mars 2021 à 14:26, Scott A. Wozny <sawozny@xxxxxxxxxxx> a écrit :


One thing I didn't see mentioned in the replies is if the DAC on the folder is set to world writable (and I agree with all the responses that say this is a terrible idea) but it still LOOKS like a permissions issue (access denied or other unexplained failures) did you check if MAC (SELuinux, AppArmor) was getting in the way?

HTH,

Scott


From: Paul <pkagan@xxxxxxxxxxxx>
Sent: March 19, 2021 9:45 AM
To: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx>
Subject: Re: Cannot write to the web directory
 
Ok , thanks , it doesn’t appear to be a permissions issue. I will check the php and the apache configuration.

Envoyé de mon iPad

Le 19 mars 2021 à 08:37, Frank Gingras <thumbs@xxxxxxxxxx> a écrit :


This is an extremely bad idea. You should never write to the docroot from your application. Write outside the docroot instead, and use group write permissions.

On Thu, 18 Mar 2021 at 20:15, Tatsuki Makino <tatsuki_makino@xxxxxxxxxxx> wrote:
I'm not sure, but FreeBSD happens to be different from Linux, so please change the directory group to www as well.
Permissions of 700, 750, 755, 770 or 775 should be sufficient.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux