I got the file downloads working with the permissions scheme. I'm going to need to make sure the www account has permissions to connect via SFTP to do multiple file uploads. This was basic stuff, but it's been a while since I've tried to do permissions in the *right* way for a local install. These days it's easy to make everything accessible by 'root.' I don't like that on my own systems so I think I'm going to have to do the old fashioned way by setting the permissions manually initially. The problem is if the user the service runs under is not enabled as a login you have to do some light gymnastics to get the permissions just right. I added myself to the www group just to make sure I could work on the directories when I SSH in, but that doesn't cut it for an SFTP connection. I have also found out that using SFTP is not really supported for Drupal updates, which seems a little weird to me. Most of the documentation talks about how saving the local SFTP password in the DB is a security risk. I'll have to look into this further to see what needs to happen so I can get Drupal updating components automatically.
Comments
Comment