Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    2

    Default ftp user permission

    Got a problem on setting ftp at cpanel.
    I want to setting all the ftp user can upload only, but can not modify and delete the file which upload by themselves, is that possible do it in cpanel? thanks.
    Jeff

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by tatazhang View Post
    Got a problem on setting ftp at cpanel.
    I want to setting all the ftp user can upload only, but can not modify and delete the file which upload by themselves, is that possible do it in cpanel? thanks.
    Jeff
    Setting users to upload only is not yet possible in cPanel/WHM.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    4

    Wink

    If you have SSH access to the server then you can edit pure-ftpd.conf file and enable NOT to delete file option as given below :


    vi /etc/pure-ftpd.conf
    # Allow users to resume and upload files, but *NOT* to delete them.

    #KeepAllFiles yes
    Just remove # in front of KeepAllFiles.

    # Allow users to resume and upload files, but *NOT* to delete them.

    KeepAllFiles yes
    Now save changes and quit.

    Then restart FTP service on the server.

    /etc/init.d/pure-ftpd restart
    But from this option you can't deny from renaming the file name.

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    2

    Default

    I cannot found the file pure-ftpd.conf under the found etc.
    but i create the one anyway, wrote the code and restart ftp service.
    still not work.

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    Quote Originally Posted by tatazhang View Post
    I cannot found the file pure-ftpd.conf under the found etc.
    but i create the one anyway, wrote the code and restart ftp service.
    still not work.
    Check your FTP server selection in WHM ....

    Are you sure you are running pure-ftpd?

    Cpanel also offers "ProFTPd" as an alternate server and you could possibly be running that server instead of pure-ftpd.

    (I personally don't recommend ProFTPd for a lot of various reasons)

Similar Threads & Tags
Similar threads

  1. FTP Permission
    By kitivaruni in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 04-29-2011, 02:23 PM
  2. wrong permission with ftp user made in cpanel ?
    By xzyyy in forum New User Questions
    Replies: 3
    Last Post: 12-24-2009, 10:19 AM
  3. ftp no delete permission
    By aryapsh in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-06-2007, 09:00 PM
  4. ftp permission
    By mpi in forum New User Questions
    Replies: 6
    Last Post: 04-14-2006, 06:28 AM
  5. FTP account permission
    By neuromancer in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-27-2005, 05:30 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube