LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   XFCE open directory as root, drag and drop file transfer alternate to SFTP (https://www.linuxquestions.org/questions/debian-26/xfce-open-directory-as-root-drag-and-drop-file-transfer-alternate-to-sftp-4175576209/)

greenace92 03-30-2016 09:17 AM

XFCE open directory as root, drag and drop file transfer alternate to SFTP
 
I am running a local web server and I need to transfer files into the public directory in /var/www/html, this is not allowed by default, unless you are root. Fine, I am root, the problem is I can't open the directory as root.

When I was using the desktop environment KDE, I was able to right click -> open as root, then I could easily drag and drop files. In XFCE I'm not able to do this, I'm not able to find a menu that allows me to open the directory /var/www/html as root.

So in order for me to get files into the /var/www/html directory, I go through bash which is not efficient.

I can't seem to use Filezilla SFTP either... I don't know what I'm missing for configuring this to happen. With the VPS that I rent, it's easy to connect to it via Filezilla on port 22 and transfer files. This is not FTP.

What am I missing?

What should I do?

sgosnell 03-30-2016 09:37 AM

What I do is open Thunar as root through the terminal. You may have to install gksudo. If you do this regularly, you can do it as the Xfce Help explains: Direct link or go from the Help menu. Read the first part to see how to set it up, and further down there is a section on opening a root Thunar. Xfce has an extensive and useful set of documentation and help topics.

greenace92 03-30-2016 10:27 AM

Quote:

Originally Posted by sgosnell (Post 5523565)
What I do is open Thunar as root through the terminal. You may have to install gksudo. If you do this regularly, you can do it as the Xfce Help explains: Direct link or go from the Help menu. Read the first part to see how to set it up, and further down there is a section on opening a root Thunar. Xfce has an extensive and useful set of documentation and help topics.

This is perfect thank you. This whole filezilla sftpd thing has been a nightmare for me, and yes it's my own fault for not researching/figuring it out. It's just been a hassle and this is a simple fix so thank you.

descendant_command 03-31-2016 03:13 AM

Thunar does sftp as well...
Also, no need to be root, just change ownership of the target folder to your user, or add yourself to the group, or whatever fits.


All times are GMT -5. The time now is 08:16 AM.