Solved

FTP and umask : how to change the umask of a FTP account for a given user

Posted on 2010-09-24
7
1,501 Views
Last Modified: 2013-12-09
Hello !

I would like to change the umask for a given FTP account WITHOUT changing default umask of ftpd for the other accounts.

I know that i can give some commands in the FTP session (changing umask when connected), but i CANNOT do that because the application wich connects to the ftp server cannot evolve.

So i MUST do that in an administering way, changing a conf file ...

Thanks !
0
Comment
Question by:cobol60
  • 4
  • 3
7 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 33758413
What ftp server software are you using?
0
 
LVL 1

Author Comment

by:cobol60
ID: 33784234
Solaris 8 & 10 ftpd
0
 
LVL 57

Expert Comment

by:giltjr
ID: 33785159
It looks like Solaris uses wu-ftpd by default.  If that is true you should be able to setup the user in a specific class and then using defumask, setup a unqiue umask for that class:

     class special "userid"
     defumask 0177 special

Not 100% sure about this, I don't have a wu-ftpd setup I can test with right now.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 57

Expert Comment

by:giltjr
ID: 33785288
O.K, don't think that will work.  After reading more the class statement seems to require specifing a IP address or IP subnet.

You may want to read:

http://man.cx/ftpaccess%285%29/ko
0
 
LVL 1

Author Comment

by:cobol60
ID: 33816548
I read this document and effectively, it seems there is a way to define a umask for a given class. But classes are defined with net addresses.

0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 33817196
I've been looking more and there does not seem to be a away to do it by user.  At least not that I have found yet.
0
 
LVL 1

Author Comment

by:cobol60
ID: 33817277
It's strange that a such feature seems not to exist while a umask by an ip address seems to be functional ... I post if a found any solution. Thank's giltjr for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Make Bitvise SFTP server accept protocol version 5? 1 197
Need to share a song with someone 9 66
Transfer files from Windows 7 to mac 3 77
VPN Shared folder Access 3 69
Over the past decade, as Internet security has become a chief concern of IT professionals, one of the most common questions administrators and users ask is, “Which is more secure, SFTP or FTPS?” In short, both file transfer protocols offer a high…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now