Hej.
Fick hjälp härom dagen med umask i ftp, men det fungare ju inte om man kör sftp, någon som vet hur man sätter umask 002 för sftp i ubuntu server.?
Hur sätter man umask i sftp[LÖST]
- Luxwarp
- Inlägg: 591
- Blev medlem: 16 nov 2007, 02:05
- OS: Ubuntu
- Utgåva: 22.04 Jammy Jellyfish LTS
- Ort: Göteborg
- Kontakt:
Hur sätter man umask i sftp[LÖST]
Senast redigerad av 1 Luxwarp, redigerad totalt 22 gånger.
--------------------------------------
Luxwarp (fd. Zifilion / MMCarlsson)
IT Consultant and Web developer.
Check out my blog about Ubuntu, development, tips, tech and all my projects over at https://codeiolo.org
Luxwarp (fd. Zifilion / MMCarlsson)
IT Consultant and Web developer.
Check out my blog about Ubuntu, development, tips, tech and all my projects over at https://codeiolo.org
- Luxwarp
- Inlägg: 591
- Blev medlem: 16 nov 2007, 02:05
- OS: Ubuntu
- Utgåva: 22.04 Jammy Jellyfish LTS
- Ort: Göteborg
- Kontakt:
Re: Hur sätter man umask i sftp
Problemet löst.
Igenom att ändra sshd_conf filen till
Subsystem sftp /bin/sh -c ‘umask 0002; /usr/libexec/openssh/sftp-server’
istället för
Subsystem sftp /usr/libexec/openssh/sftp-server
så blir det rätt umask:D
Igenom att ändra sshd_conf filen till
Subsystem sftp /bin/sh -c ‘umask 0002; /usr/libexec/openssh/sftp-server’
istället för
Subsystem sftp /usr/libexec/openssh/sftp-server
så blir det rätt umask:D
--------------------------------------
Luxwarp (fd. Zifilion / MMCarlsson)
IT Consultant and Web developer.
Check out my blog about Ubuntu, development, tips, tech and all my projects over at https://codeiolo.org
Luxwarp (fd. Zifilion / MMCarlsson)
IT Consultant and Web developer.
Check out my blog about Ubuntu, development, tips, tech and all my projects over at https://codeiolo.org