UPDATE: Confirmed that the reason of this problem was there. It's better to avoid the upload and editing of the files and folders under the root SSH user.