Subfolder Error
TLDR - Quick Summary
Problem: Inherited subfolders bleed into parent directory and become inaccessible
Affected: SFTP Gateway version 3.x
Solution: Remove inherited folders under user's Home Directory
Alternative: Create folders via SFTP or GCS instead; use inherited only for special permissions
Overview
There is currently an error in version 3.x of SFTP Gateway where folders set to inherited in the SFTP Gateway folders tab may potentially bleed into the parent directory and are also inaccessible from this view.
For example:
/ => default cloud connection
/users/ => inherited
/users/robtest/ => robtest Home Directory
/users/robtest/folderlevel1/ => inherited
/users/robtest/folderlevel1/folderlevel2/ => inherited
If I log in as robtest, I should expect to see this:
/
/folderlevel/
But due to the error, I would instead see this:
/
/folderlevel1/ => I can cd into this folder
/folderlevel2/ => this folder shows up, but I cannot interact with it
The solution is to remove any inherited folders under that user's Home Directory. Any folders should instead be created via SFTP or from Google Cloud Storage.
The inherited folders are only necessary if you're assigning special permissions such as read-only or if you're mapping to a different cloud location.