wolpi / prim-ftpd

FTP server app for android
Other
620 stars 78 forks source link

Do not create sample authorized_keys file at old location #357

Closed lmagyar closed 3 months ago

lmagyar commented 3 months ago

As I see, the new location is at:

But the app also reads all the old locations at

On start it creates a sample file if there is no file. But it creates the sample at one of the old locations also. I don't see why is it necessary. This was comitted this way originally, hasn't changed, but I think we shouldn't create a sample file at an "old" location.

wolpi commented 3 months ago

Yes, makes sense. Probably the creation of sample file would fail anyway as there is no write permission in old location with recent android versions.