User Tools

Site Tools


linux:sftp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:sftp [2023/10/30 09:24] – bug fix olaflinux:sftp [2023/10/31 11:19] (current) olaf
Line 28: Line 28:
 chown root:root /SFTP chown root:root /SFTP
 chown root:root /SFTP/remote-sftp chown root:root /SFTP/remote-sftp
-chmod 0755 /SFTP+chmod 0711 /SFTP
 chmod 0755 /SFTP/remote-sftp chmod 0755 /SFTP/remote-sftp
 </code> </code>
Line 35: Line 35:
 Note the reported uid and gid - it is required for mounting the smb share with the right permissions Note the reported uid and gid - it is required for mounting the smb share with the right permissions
 <code bash> <code bash>
-adduser --group --system --shell /bin/false -d /SFTP/remote-sftp remote-sftp+useradd --group --system --shell /bin/false -d /SFTP/remote-sftp remote-sftp
 </code> </code>
  
linux/sftp.1698657851.txt.gz · Last modified: 2023/10/30 09:24 by olaf