LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2004, 01:26 PM   #1
88guy
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 25

Rep: Reputation: 15
Vsftpd changes file permissions....how to correct?


I installed RedHat 9 and did a LAMP/Qmail install for a buddy in W. Va. I also installed Vsftpd and added myself as a user so I could send him some things (from Michigan). I am no Linux whiz and he knows, well, nothing. He bought a domain name and someone else built him a couple of web pages (with no page "index" of any type - argh.....) so I logged in and tried to help him get the whole mess sorted out. Problem is this: after I renamed what should have been his index page to "index.htm" and uploaded it back to him I recieved a "permission denied" message when I tried to view it online. I gave him a short explanation of the chmod command, over the phone, and we got it working. I used to pay for webhosting (gee, that was stupid) and I uploaded things to my webhost via FTP - file permissions did not get changed. Maybe I could have changed his with my ftp client (I forgot to try that). Anyway - is this a umask setting or what? How would you configure Vsftpd so that it does not change file permissons when things are uploaded? Thanks for any help - it's greatly appreciated.
 
Old 05-25-2004, 05:17 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
In the vsftpd.conf file, there is a line that says something along the lines of:
local_umask=022

I would start there and also look at the FAQ
 
  


Reply



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
vsftpd & anonymous file permissions uncfleece Linux - Networking 2 01-01-2007 08:14 AM
Setting correct permissions for my ~/ ShadyCharacter Linux - General 2 04-14-2004 11:06 PM
What are the correct permissions for /etc? KingofBLASH Slackware 1 01-31-2004 08:56 PM
How to set correct file/directory permissions pat.delaney Linux - Networking 5 12-02-2003 09:39 AM
vsftpd and file/directory permissions dynamo|x Linux - Security 7 06-01-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration