The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Read Only FTP Access

Discussion in 'General Discussion' started by Need4Host, Dec 22, 2005.

  1. Need4Host

    Need4Host Member

    Joined:
    Dec 22, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    The question is:
    If I create an FTP account via cPanel to access only /home/user/www/smth
    e.g. folder smth, is it technically possible to give a definite FTP account only "read only" access without an opportunity to delete or upload any files?
    If yes could anyone tell me a way this can be done?
    Maybe via .htaccess or something else?
    Of course all other accounts should have write/delete/upload permissions, only definite single accounts I select must have read only access to the specified directory
    Thanks
     
  2. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Have you tried adding the 'i' attribute to smith folder and all the files in it..

    Code:
     ]#chattr +i -R /home/user/www/smth
     
Loading...

Share This Page