This forum is no longer active. Please post your questions to our new community site

Cannot upload (SFTP) to /opt/../htdocs

Subscribe to Cannot upload (SFTP) to /opt/../htdocs 4 post(s), 3 voice(s)

Avatar adminwannabe 1 post

I installed bitnami ubuntu with lamp stack on ec2 and I cannot seem to upload anyfiles to the htdocs folder using the default bitnami user.

I followed the directions in this forum and chowned the htdocs folder to bitnami:daemon. My permissions look like the following
I am able to upload to my /home/bitnami folder but not htdocs. What I am doing wrong.

Avatar Beltrán Rueda Administrator 3,714 post(s)


Check the /opt and /opt/bitnami folder permissions are 755.

Avatar dinamoxx 1 post

Hi Beltran,

I have just yesterday installed and run a bitnami: wordpress instance. I have also connected using ssh and Filezilla to the /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/ folder and can see all the files there, but cannot delete or bring in any new ones. What am I doing wrong? Is it that these files cannot be modified in bitnami? I need to work on the php code of some of tem, bring new images, etc. Would it be possible to get some help with this matter?

Thanks a lot,


Avatar Beltrán Rueda Administrator 3,714 post(s)


I checked that the bitnami user can change the files. Could you check that the /opt/bitnami/apps/wordpress/htdocs files owner is “bitnami” and the group “daemon”?