Search code examples
phpftpmediawikichowndirectadmin

How do I change file/folder ownership on a remote server without access to the commandline?


I've only got access to the directadmin panel (and ftp access as well), and for my mediawiki install I need to change the ownership of a particular folder (so chown). More specifically, I need to do this:

sudo chown -R www-data:www-data images/

Is there a way to do this without the commandline? With directadmin or via ftp?


Solution

  • CHOWN doesn't work over FTP and SFTP, the FTP protocol doesn't support it. You'll either need direct access or a full blown SSH2 remote shell.

    In DirectAdmin you can only 'reset' ownership through "File Manager".