Win10 to Ubuntu gets permission denied

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
MacNala
500 Command not understood
Posts: 2
Joined: 2020-01-16 15:47
First name: Alan
Last name: Cameron

Win10 to Ubuntu gets permission denied

#1 Post by MacNala » 2020-01-17 15:18

I for my sins am very new to Linux (Ubuntu 8.04.3) as a server.
I am trying to use FileZilla (Win Client) to copy from a Win folder a couple of files to the /etc/apache2/sites-available folder on the server.
I keep getting 'open for write permission denied'.
I have searched the forums FAQ but found nothing relevant.
I know that Win does not use Owner:Group so can't override the O:G on the Ubuntu server apache2 folders which is root:root.
I have adopted another method, copying to my user home folder and then using SSH access to copy the files to the apache2 folder.
Is this the only way to do this?

User avatar
botg
Site Admin
Posts: 33123
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Win10 to Ubuntu gets permission denied

#2 Post by botg » 2020-01-17 20:03

/etc is a system directory, ordinary users are not allowed to write to it, for good reason.

Transfer the files some other place. Then when you are logged in as root on the server, carefully put them where you want them after making sure the contents are as expected.

MacNala
500 Command not understood
Posts: 2
Joined: 2020-01-16 15:47
First name: Alan
Last name: Cameron

Re: Win10 to Ubuntu gets permission denied

#3 Post by MacNala » 2020-01-17 20:10

Thanks I live and learn!

Post Reply