LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2003, 01:23 PM   #1
fuzzyboots
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
umask setting on ftp server


We're running a kerberized ftp server (don't know which ftp server cuz i'm not the admin) on RedHat 9. The server admin assures me that the ftp daemon is set to umask 022.

We're seeing consistently finding the permissions on ftp'd files are not set to 022, byt are set to rw-rw-rw.

The inet.conf file has the following line:

ftp stream tcp nowait root /usr/sbin/tcpd
/usr/local/kerdap/sbin/ftpd -d -u 022

When I telnet into the ftp server and run SITE UMASK, it returns with uamsk of 000, which is consistent with the permissions on ftp'd files.

I don't know enough to know whether the inetd file is correct (I suspect it's not). Any ideas?
 
Old 07-18-2003, 04:13 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
My experience has shown that it's a FTP server directive rather than something in inetd or elsewhere on the system. If the admin told you it's set to 022, it's likely it is (but can't you check?). 000 does not = rw-rw-rw though, 000 as umask is = rwxrwxrwx so something is wrong there as well. Permissions are really getting 'dorked' somewhere, so check /etc/profile and the config file of the FTP server itself.

But if you aren't the admin, there is going to be very little you can do anyway...

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 05:32 AM
setting up FTP server sulfur Linux - Newbie 4 09-02-2004 07:48 PM
Setting up an FTP server jwijesundra Linux - Networking 10 07-13-2004 07:24 AM
Can i get help setting up an ftp server? jon_k Linux - Software 1 04-18-2004 01:46 PM
Setting up an FTP server? ogden2k Linux - Networking 4 05-26-2003 08:48 PM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration