Join the community today
Become a Member

Install Can't delete/overwrite files when using winscp

Discussion in 'Install & Upgrades or Pre-Install Questions' started by virtualorbis, Jul 15, 2018.

  1. virtualorbis

    virtualorbis New Member

    Jul 11, 2018
    Local Time:
    1:28 AM
    I am currently using winscp as a replacement of FTP for editing files in the /usr/local/nginx/ folder however I can't delete or overwrite files despite the fact that I am logging in using the centos user and the root key. Any suggestion?
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    4:28 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    centos user ? only root user would have permissions for such. However, easiest way to edit configuration or any files on your server is via logging into your server via ssh and directly editing them using nano or vim linux text editors.

    For nano which you can read up more about nano here and here. For vim text editor read here and here and thread at WebPerf - Popular Vim Commands – a Comprehensive Vim Cheatsheet

    Also there's numerous online how to use guides for nano and vim you can search for via google :)