Results 1 to 3 of 3

Thread: New FTP Uploads Overwrite Existing File Permissions

  1. #1

    New FTP Uploads Overwrite Existing File Permissions

    I'm stumped...

    I'm using SUSE Enterprise Server 9, vsftp, Apache (2) to support Web development, and I'm having a problem with developer FTP uploads resetting directory file permissions.

    With each new file upload, read permissions are removed from "all users" and Web users can't view the uploaded HTML content. The "owners" permissions remain intact.

    Each developer has his own local account and corresponding FTP / HTTP directory which he uses to develop, upload and publish Web content. From a developer's standpoint everything works great. He can login...upload...create, modify, delete and browse HTML content no problem.

    However, after a new upload, the developer must manually reset read permissions on all directories and files or the Web users can't view folder content.

    Any thoughts? For a Windows GOWRONG this is very humbling.
    Last edited by GNPenquin; 03-01-2006 at 09:42 PM.

  2. #2
    Join Date
    Feb 2006
    Ohio USA
    I remember having similiar issues with ftp. I think it sets all uploaded files to the default umask.

  3. #3
    Junior Member tuxette's Avatar
    Join Date
    Jan 2006
    I think you're right. The default can be changed with the "local_umask" statement in vsftpd.conf

Similar Threads

  1. Large File Uploads
    By gazugafan in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 06-15-2006, 03:43 PM
  2. file permissions
    By sentme_mail in forum Linux - General Topics
    Replies: 8
    Last Post: 11-20-2004, 04:39 AM
  3. File permissions upon creating the file
    By cloverm in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-17-2004, 07:48 PM
  4. Help with file permissions
    By boblucci in forum Linux - General Topics
    Replies: 3
    Last Post: 04-21-2003, 02:28 PM
  5. file permissions reset to 755
    By gomez alert in forum Mandriva
    Replies: 7
    Last Post: 05-15-2002, 10:10 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts