LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2010, 05:35 AM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Rep: Reputation: 16
umask for internal-sftp users ?


Hello,

Running Debian 5.
How do I set umask for sftp only users ?

Users are jailed - that means they use internal-sftp:
Code:
# cat /etc/ssh/sshd_config
..........
Match group group1
        ChrootDirectory /home/%u
        X11Forwarding no
        AllowTcpForwarding no
        ForceCommand internal-sftp
..........
thanks
Vilius
 
Old 01-04-2011, 08:51 AM   #2
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Could you put a 'umask' setting in the /etc/default/ftp file?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
internal-sftp logging sshd blither Linux - Server 4 01-12-2011 07:19 PM
finding umask for all users using script logicalfuzz Linux - General 5 02-16-2010 07:02 PM
Set default umask for users wjs1990 Linux - Newbie 1 01-04-2010 09:44 PM
Setting umask for incoming sftp users lensem Linux - Software 1 12-29-2008 03:15 PM
fstab, umask and users permissions foucault Linux - Security 3 11-03-2005 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration