LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2003, 05:19 AM   #1
hiasl
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
VSFTPD file rights


Hi!

I have a problems with FTP File Uploads (on VSFTPD), the Apache Web Server and File Permissions.

After having created a new user on my system, I create an Apache Virtual Host to the public_html directory of the newly created user's home dir. When I upload files to this directory via FTP the file permissions are set to "-rw-------".

When I try to access the virtual host with my webbrowser I get a error "You don't have permission to ..."

How can I get VSFTPD to set the permissions of the uploaded files to 777 (or whatever is necessary) automatically so that Apache will show the pages.

Thanks,
Matthias
 
Old 03-24-2004, 02:56 PM   #2
jsaints
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
I have a simillar problem.

On our network we have various users on windows computers uploading to a gentoo vsftpd box. the problem is that files uploaded from windows via vsftpd retain their original windows permission settings. I would like vsftpd to override the permissions on each file uploaded so they have 664 permission set.

How could i do this? thanks.
 
Old 11-15-2004, 12:23 PM   #3
tajtus
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
i think answer

local_umask=022 in vsftpd.conf should resolve your problem
 
  


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
vsftpd user rights compughnet Linux - Software 0 11-09-2005 01:02 PM
VSFTPD Debian VSFTPD "unrecognised variable in config file" DCT Linux - Software 0 05-30-2004 12:59 AM
file rights changed? monc Linux - Networking 3 11-19-2003 10:20 PM
default file rights with umask MartinMiller Linux - General 6 10-22-2003 11:04 AM
groups and file rights tstuhr Linux - Networking 1 10-05-2001 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 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