You are not logged in.

#1 2013-07-29 15:25:36

felipe
Member
Registered: 2013-06-29
Posts: 70

[solved] vsftpd: Uploaded files are with permissions -rw-------.?

Hello,
I have a problem with the ftp server(vsftpd).The new files are saved with permissions 600 (rw ----). So apache server can't show them. Ftp access is configured with my local user and this home is in /srv/http.

The trouble is the user config access...

Last edited by felipe (2013-07-29 16:38:14)

Offline

#2 2013-07-29 16:06:36

felipe
Member
Registered: 2013-06-29
Posts: 70

Re: [solved] vsftpd: Uploaded files are with permissions -rw-------.?

solved:

acording to

Q) Help! Uploaded files are appearing with permissions -rw-------.
A1) Depending on if this is an upload by a local user or an anonymous user,
use "local_umask" or "anon_umask" to change this. For example, use
"anon_umask=022" to give anonymously uploaded files permissions
-rw-r--r--. Note that the "0" before the "22" is important.
A2) Also see the vsftpd.conf.5 man page for the new "file_open_mode"
parameter.

more info :

https://security.appspot.com/vsftpd/FAQ.txt

Offline

#3 2013-07-29 16:08:51

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: [solved] vsftpd: Uploaded files are with permissions -rw-------.?

felipe wrote:

solved

Glad you got it worked out. Please remember to add [Solved] to the beginning of your thread title.

All the best,

-HG

Offline

Board footer

Powered by FluxBB