1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Control which patches to be displayed?

Discussion in 'Plesk for Linux - 8.x and Older' started by woxcom, Oct 26, 2005.

  1. woxcom

    woxcom Guest

    0
     
    The "File Manager" or FTP is displaying the following folders/patch for all our domains:

    bin
    conf
    error_docs
    etc
    lib
    pd
    statistics
    subdomains
    tmp
    usr
    var
    web_users
    anon_ftp
    cgi-bin
    httpdocs
    httpsdocs
    private

    I would like to change so that it only display those I want my clients has access to: httpdocs, httpsdocs, cgi-bin, private, etc. How can I do this so that it effect on all domains and for all new domains we setup?

    Thank you very much for your help.
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Edit the /etc/proftpd.conf file. Look for:

    <Directory /var/www/vhosts>
    GroupOwner psacln
    </Directory>

    And change to:

    <Directory /var/www/vhosts>
    GroupOwner psacln
    HideNoAccess on
    HideUser root
    </Directory>
     
  3. NVarra

    NVarra Guest

    0
     
    I perfer to use HideGroup instead of HideUser.

    Code:
    <Directory /home/httpd/vhosts>
    GroupOwner      psacln
    HideNoAccess    on
    HideGroup       root
    </Directory>
    What you'll be left with is:

    anon_ftp
    cgi-bin
    error_docs
    httpdocs
    httpsdocs
    subdomains
    web_users
     
  4. dahamsta

    dahamsta Guest

    0
     
    Nice tip, thanks.
     
  5. NVarra

    NVarra Guest

    0
     
    No problem... :)

    Using HideGroup you hide the private directory, but I feel it's a better tradeoff than hiding subdomains, webusers, etc.

    Unfortunately all the other directories are still visible via the friggin File Manager.
     
  6. dahamsta

    dahamsta Guest

    0
     
    Don't subdomains and webusers have separate logins anyway? (I don't really used them so I wouldn't know.) I would have thought that's why they're owned by root. I went with HideUser meself.

    Yeah, it'd be nice if the file manager referenced proftpd.conf for this too. Shouldn't be too hard if they wrote the file manager themselves.

    adam
     
  7. NVarra

    NVarra Guest

    0
     
    They do have individual logins but it's nice to use the main account FTP login to manage all if need be. :)
     
  8. woxcom

    woxcom Guest

    0
     
    Thank you very much for all your help!

    I was, however, not able to find the directory: /var/www/vhosts, but only /home/httpd/vhosts? What version of plesk are you using (I use 7.5.3), maybe something has changed?

    About the file manager... Well, I know it can be done, so that it only display what you want your clients to see (please check the plesk demo: http://plesk754.demo.sw-soft.com:8443) but the question is how? Any ideas?
     
  9. NVarra

    NVarra Guest

    0
     
    /var/www/vhosts is the new default vhost location. (New installs of 7.5.4+)
     
  10. woxcom

    woxcom Guest

    0
     
    NVarra, thank you :)

    How about to hide those folders in the file manager as well - do you know how this can be done?
     
  11. woxcom

    woxcom Guest

    0
     
    anyone knows how this can be done?
     
  12. DaveKay

    DaveKay Regular Pleskian

    17
    85%
    Joined:
    Jan 2, 2012
    Messages:
    226
    Likes Received:
    0
    Sorry to bump this thread.

    Is there a way to hide the folders owned by root from the File Manager.

    They are hidden with FTP login as below but still visible under the File Manager.

    Many thanks!

    Dave
     
  13. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    HideNoAccess would hide a file owned by apache when created running php as a DSO right? If so, that may just confuse people as to why they can see it in a browser, and in file manager, but not in ftp.
     
Loading...