This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:sftp [2023/10/30 09:24] – bug fix olaf | linux:sftp [2023/10/31 11:19] (current) – olaf | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| chown root:root /SFTP | chown root:root /SFTP | ||
| chown root:root / | chown root:root / | ||
| - | chmod 0755 /SFTP | + | chmod 0711 /SFTP | 
| chmod 0755 / | chmod 0755 / | ||
| </ | </ | ||
| 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  | + | useradd  | 
| </ | </ | ||