Solved

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

Posted on 2010-09-24
7
1,490 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

With the withdrawal of support for Windows Server 2003 this summer, many clients face the issue of moving away from their 2003 installs. There are a few options out there that many people/companies are selling. But the clients I have, haven't wanted…
Cloud file services can fill many different roles for your business. Often, the use of cloud file services begins with employees using consumer products, like Dropbox, to share files with customers and each other. While sync-and-share can be an effe…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

758 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

17 Experts available now in Live!

Get 1:1 Help Now