Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sftp.json not syncing after first setup #115

Open
quiquelhappy opened this issue May 29, 2022 · 1 comment
Open

sftp.json not syncing after first setup #115

quiquelhappy opened this issue May 29, 2022 · 1 comment
Labels

Comments

@quiquelhappy
Copy link

Hello,
I'd like to modify my sftp.json after the container is created. It seems like the way it's currently setup, the container is making a copy upon setup and never reads the file again. This is the setup I'm using:

docker run 
  -v C:\Users\happy\Documents\purecore-containers\sftp.json:/app/config/sftp.json:ro 
  -v C:\Users\happy\Documents\purecore-containers\8528a0f48e532396:/home/8528a0f48e532396/data 
  -p 22:22 
  -d
  emberstack/sftp

on my sftp.json, I have

{
    "Global": {
        "Chroot": {
            "Directory": "%h",
            "StartPath": "data"
        },
        "Directories": [
            "data"
        ]
    },
    "Users": [
        {
            "Username": "8528a0f48e532396",
            "Password": "demo"
        }
    ]
}

when I later change the password or remove the user on my sftp.json, I'm still able to login using the same credentials

@stale
Copy link

stale bot commented Jul 10, 2022

Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant