0

I assumed that if a user was in a group, it would have access to the files associated with it, e.g.

drwxrwxr-x 9 bitnami rootandbooly    4096 Jan 10 16:31 htdocs

boolyXXX@XXXX:/opt/bitnami/apps/wordpress$ members rootandbooly
root boolyXXX daemon bitnami

I had thought if the a user was in rootandbooly that it would be able to edit files via FTP. In fact, I am seeing it cannot.

In my application as above, I have no FTP edits but wordpress plugins work.

Attempting to edit via FTP yields:

enter image description here

Permission denied.
Error code: 3
Error message from server: Permission denied

Changing owner to boolyXXX

sudo chown -R boolyXXX:rootandbooly /opt/bitnami/apps/wordpress/htdocs

boolyXXX was already in the group but I can now edit files via SFTP. Unfortunately, wordpress plugins do not get installed as it needs owner bitnami.

So I have a wordpress server where either I can set a user so I can SFTP but not use wordpress or not SFTP but use wordpress.

Does anyone know if Groups are meant to have access to files and why I cannot do SFTP edits via a user in the group I set up?

SeanJ
  • 379

0 Answers0