Control Web Panel

WebPanel => FTP => Topic started by: darkslayer on November 10, 2015, 02:09:39 PM

Title: How to Change Owner and Group of a file
Post by: darkslayer on November 10, 2015, 02:09:39 PM
Hi there. I have a wordpress site and i uploaded a video file via ftp. All went well, the problem was that i couldnīt find the file on my wordpress library. So i went to my CWP and file manager and found the file on the uploads directory but there was something wrong and it was the owner and group of the file. While all other files, which i uploaded by the library on the wordpress, have the owner and group as tbdivpt, the one i uploaded by ftp as root root. As so the the file dosenīt appear on the wordpres library.
Can anyone help me on that?
Here is the image of the CWP https://onedrive.live.com/redir?resid=6BF50EAB9CB1ECB2!8054&authkey=!ALSPZCpWxW5f0z0&v=3&ithint=photo%2cjpg (https://onedrive.live.com/redir?resid=6BF50EAB9CB1ECB2!8054&authkey=!ALSPZCpWxW5f0z0&v=3&ithint=photo%2cjpg)
Title: Re: How to Change Owner and Group of a file
Post by: Igor S. on November 13, 2015, 07:48:56 AM
Hello.

First of all, you can not using the root account for upload your files, you have to use a user account.
Second, you can click the button: "User accounts" -> "Fix permissions".