Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-09-24
7
Medium Priority
?
1,535 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
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.
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…

688 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