Help!

Cannot set uploaded file permisions when using vsftp on a ..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Red Hat RSS
Next:  mailing list on qmail with php  
Author Message
calli
External


Since: Jul 12, 2007
Posts: 1



PostPosted: Thu Jul 12, 2007 3:08 pm    Post subject: Cannot set uploaded file permisions when using vsftp on a RedHat EL3 server
Archived from groups: linux>redhat, others (more info?)

Hi everyone,
I have a problem with the writen file permitions on a RedHat EL3
server when a noshell user logs in with his ftp account and upload
files to the server. I have tried this setup on diffirent RedHat EL3
servers with the same results.
I have played around with the umask settings in the /etc/vsftp/
vsftp.conf file and there seem to be a random result when changing the
local_umask= settings. The user is in the corect group and the group
has the right permisions to the directory. Is there a way to fix this?
Here is some more info

Thanking you in advance

Cheers
Carel

uname -a
Linux 2.4.21-50.ELsmp #1 SMP Tue May 8 17:18:29 EDT 2007 i686 i686
i386 GNU/Linux

my vsftp.conf file
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=077
chroot_local_user=NO
chroot_list_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
chroot_list_file=/etc/vsftpd.chroot_list
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES

Results on the permisions of the ftp directory
ls -alth /ftp/
total 8.0K
drwxrwxrwx 2 iii iii 4.0K Jul 12 16:16 .
----r-xrwx 1 tworic iii 0 Jul 12 16:16 l-
test16.txt
---------- 1 tworic iii 0 Jul 12 16:15 l-
test15.txt
---------- 1 tworic iii 0 Jul 12 16:11 l-
test14.txt
----r-xrwx 1 iii iii 0 Jul 12 15:59 l-
test13.txt
----r-xrwx 1 iii iii 0 Jul 12 15:58 l-
test12.txt
---------- 1 iii iii 0 Jul 12 15:54 l-
test11.txt
---------- 1 iii iii 0 Jul 12 15:53 l-
test10.txt
----r-xrwx 1 iii iii 0 Jul 12 15:44 l-
test9.txt
---------- 1 iii iii 0 Jul 12 15:42 l-
test8.txt
----r-xrwx 1 iii iii 0 Jul 12 15:26 e-
test2.txt
-rw-rw---- 1 iii iii 0 Jul 12 15:22 e-
test1.txt
---------- 1 iii iii 0 Jul 12 15:19 l-
test7.txt
---------- 1 iii iii 0 Jul 12 15:18 l-
test6.txt
---------- 1 iii iii 0 Jul 12 15:18 l-
test5.txt
---------- 1 iii iii 0 Jul 12 15:16 l-
test4.txt
----r-xrwx 1 iii iii 0 Jul 12 15:13 l-
test3.txt
----r-xrwx 1 iii iii 0 Jul 12 15:12 l-
test2.txt
----r-xrwx 1 iii iii 0 Jul 12 15:08 l-
test1.txt
-rw-r--r-- 1 iii iii 0 Jul 12 15:04 t1.txt
-rw-r--r-- 1 iii iii 0 Jul 12 15:04 t2.txt
-rw-r--r-- 1 iii iii 0 Jul 12 15:04 t3.txt
drwxr-xr-x 3 iii iii 4.0K Jul 12 15:03 ..
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Red Hat All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum