LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-16-2006, 08:04 PM   #1
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Rep: Reputation: 15
FTP, newly created files permission


Hello,

I setup an FTP with vsftpd. I have a partition in ext3 format for uploads, so users can upload and download from that partition.

The problem is that every time that someone create (upload) a file nobody else can download it (no access at all).

the permissions that automatically created are:
drwx------
-rw-------

Also, have a lot of groups and i want all the groups to have access on the folder uploads.

How, can i do it?


Thanks in advanced
 
Old 09-16-2006, 08:21 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Re: FTP ... permission

Check the vsftpd configuration file.

The umask parameters define the "chmod" value (permissions) of the files when they are uploaded to the FTPs filesystem. To calculate the permission value, start at 777, then substract the umask value. So if a anon_umask value is set at 077, then the file will have the permissions of 700 on the file system (this may prevent the file from later being downloaded depending on filesystem permissions).

anon_umask=077
local_umask=022
 
Old 09-16-2006, 08:47 PM   #3
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Original Poster
Rep: Reputation: 15
THANK YOU VERY MUCH !!!

It workss!!!!
 
  


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
saving newly created files using ftp on a network linuxhippy Slackware 5 05-06-2005 03:54 AM
permissions for newly created files dialbat Linux - General 2 10-04-2004 02:58 PM
Can we access the newly created files after dd if=hda6_last_mon_backup of=/dev/hda6 murugesan Linux - Software 0 03-29-2004 08:42 AM
Deleting the newly created files keeping the existing icorsi Linux - Newbie 2 10-07-2001 11:16 AM
Deleting newly created files keeping the existing ones icorsi Linux - General 0 10-07-2001 12:17 AM


All times are GMT -5. The time now is 01:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration