Solved

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

Posted on 2010-09-24
7
1,520 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
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…

632 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