LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: [OT] Solaris umask and ftp

[ILUG] Re: [OT] Solaris umask and ftp

James jas at spamcop.net
Wed May 19 01:46:21 IST 2004


On Tue, 18 May 2004 17:00:10 +0000, Conor Daly <conor.daly at met.ie> wrote:

> Solaris ftp server on SunOS 5.7.  I have a user 'incoming' with a shell 
> of
> '/dev/null' that recieves files by ftp.  I want to set a umask of 002 for
> incoming files.  Can I do this?  Do I have to do it at the ftpd config 
> or do
> I need a different shell for user 'incoming'?

The ftpd doesn't actually *run* whatever shell the user has listed - which
is how you can get away with having it set to /dev/null or /bin/false - so
it shouldn't affect the umask at all.

Instead, for Solaris's ftpd, use the "-u" switch on the command line (in
inetd.conf or similar), to specify what the default umask should be. You
can also set this using the "defumask" option in ftpaccess
(/etc/ftpd/ftpaccess, 'man 4 ftpaccess' for details) if it's enabled.


James.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell