Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    3

    Default wrong permission with ftp user made in cpanel ?

    for example, make a file using root user, when you create a ftp user like abc@abc.com, login with it in windows explorer, you will find that you can delete this file without any problem.... in other words, virtual ftp user(with domain name), made in cpanel, login with win explorer can delete any files on the server. the worst thing is, such a user can delete all .htaccess files on the server even though you change these files to premission 000.
    could anybody help me to solve it? or just is a bug of cpanel?
    thanks

  2. #2
    Registered User
    Join Date
    Dec 2009
    Posts
    3

    Default

    could anybody help me, i try once and once but there isn't any solution about this problem....
    thanks

  3. #3
    Member Kailash1's Avatar
    Join Date
    Nov 2006
    Location
    webhostingdiscussion.net
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If the file is owned by root user, a normal FTP user can not delete/modify/move the file. I tested this on cPanel server, I could not delete the files owned by root. You will need to check further why you are able to delete root owned files using normal FTP user.

    Kailash

  4. #4
    Registered User
    Join Date
    Dec 2009
    Posts
    3

    Default

    hey Kailash1,
    sure, you can't delete it in a general ftp client, like flashfxp and so on. but when you login with windows exploror(visit ftp://user@yourdomain.com in windows exploror, fill your usr & passwd into the blank), you can delete it certainly. i try many times, actually you can delete any file with this method. could you please try as my method? thanks

Similar Threads & Tags
Similar threads

  1. Adding FILE permission for a user created by cPanel
    By deswamp in forum New User Questions
    Replies: 0
    Last Post: 10-08-2010, 07:09 AM
  2. delete user made backups at some interval
    By bhanuprasad1981 in forum Data Protection
    Replies: 6
    Last Post: 05-27-2010, 12:22 PM
  3. Replies: 2
    Last Post: 11-30-2009, 05:37 AM
  4. ftp user permission
    By tatazhang in forum New User Questions
    Replies: 4
    Last Post: 09-19-2009, 12:27 PM
  5. FTP User going to wrong directory
    By webdude12 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-22-2008, 02:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube