question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Folder created with root

See original GitHub issue

Impossible to add file because folders have been created by root in my KUBERNETES cluster image

root

image

# Default values for sftp.
replicaCount: 1
image:
  repository: emberstack/sftp
  pullPolicy: Always

configuration:
  Users:
    - Username: "foo"
      Password: "pass"
      Chroot: "%h"
      StartPath: "IOTA"
      Directories: ["exo"]

  Global:
    #Chroot:
    #  StartPath: "IOTA"
    Directories:
      - "IOTA/IN"
      - "IOTA/OK"
      - "IOTA/KO"
      - "IOTA/LOG"

storage:
  volumeMounts:
    - name: sftp-data
      mountPath: /home/foo/IOTA
  volumes:
    - name: sftp-data
      persistentVolumeClaim:
        claimName: sftp-data-pvc
service:
  type: ClusterIP
  port: 22
resources:
  limits:
    cpu: 400m
    memory: 300Mi
  requests:
    cpu: 100m
    memory: 128Mi

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
winromuluscommented, Mar 24, 2020

Hi @DRAKUN Found the issue and it should be fixed in v.2.0.18 Try updating and let me know if it solved your issue.

Also, in your configuration, the Chroot section is not correct. It should be:

Chroot:
  Directory: "%h"
  StartPath: "IOTA"

Please let me know if this fixed your issue

1reaction
winromuluscommented, Mar 24, 2020

And the move happens also via SFTP?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is a Root Folder or Root Directory?
The root folder is the lowest level directory on your SD card. It's the first folder you see when you open your SD...
Read more >
Creating a root folder - GFI Directory Help System
Root folders are top-level folders which may contain one or more sub-folders or reports. To create a root folder: 1. From Reporting tab...
Read more >
Create a root-level folder
1. In the left menu, click Shared Folders. · 2. Users with the permission Create root-level folders in "Shared Folders" will see the...
Read more >
What Is The Root Directory and What Are The Folders in ...
The root directory is the top-level directory of a folder structure. The directory includes all other directories and files on a system and...
Read more >
What Is a Root Folder or Root Directory?
A root folder, also known as a root directory, is the top-most folder in a hierarchy of directories or folders on a computer's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found