Re: [WebDNA] Ubuntu and WebDNA

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114726
interpreted = N
texte = 2351 --Apple-Mail=_0F8444B4-3173-4F0E-B19A-98E2AF37E598 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Vincent What you need to do is: 1) ensure that that the user name that you log in with is a member of = www-data group sudo usermod -a -G www-data yourusername The -a (append) switch is essential otherwise, the user will be removed = from any groups, not in the list. The -G switch takes a (comma-separated) list of additional groups to = assign the user to. 2) change the ownership of the root directory of your website to be = owned by you and www-data sudo chown -R yourusername:www-data /var/www/html/websiteroot The -R (recursive) changes the ownership for the directory and = everything in it. 3) change permissions on the same directory sudo chmod -R 775 /var/www/html/websiteroot The -R (recursive) changes the permissions for the directory and = everything in it. 775 gives the following owner (you) read, write, execute group (www-data) read , write, execute everyone else read, execute I assume that you are using username & password to ssh into your server. = If this is the case use port 22 in your ftp config, this is known as = SFTP. If you are still having problems, try a reboot. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 30 Aug 2019, at 21:00, Vincent Medina wrote: >=20 > I probably should have been clearer. When I try to FTP files directly = to Apache web server root I get permission denied. I can only upload to = my home directory. I read a couple articles when you have to do sudo SU = but it just kicks me out of whatever program I'm using >=20 >=20 >=20 > Sincerely, >=20 > Vincent Medina > Technology Consultant >=20 > (305)785-3355 >=20 > -------- Original message -------- > From: "Scott @ Itsula" >=20 > Date: 8/30/19 6:50 AM (GMT-05:00) > To: talk@webdna.us , Vincent Medina = >=20 > Cc: talk@webdna.us > Subject: RE: [WebDNA] Ubuntu and WebDNA >=20 > Am also using WinSCP > =20 > From: WebDNA Solutions > Sent: 30 August 2019 04:20 > To: Vincent Medina > Cc: talk@webdna.us > Subject: Re: [WebDNA] Ubuntu and WebDNA > =20 >=20 > > how are you guys transferring files? >=20 > Filezilla >=20 >=20 > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Urgent/Emergency Phone: (228) 222-2917 > Website, Database, Network, and Communication Systems >=20 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us = > archives: http://www.webdna.us/page.dna?numero=3D55 = > Bug Reporting: support@webdna.us > N=18=C5=BD=C2=99=C3=AB,j=07=C4=92=C4=93=C4=AE=C2=A7=C4=B7=C3=9A2=C4=92=C3= =A6=C3=9Eq=C5=A6=C5=BD{*.j=C2=B7=C5=BD=C4=91=C5=A7=1C=C5=AA&=C3=9Ev=C3=9A-= =C2=85> = =C3=A9=C2=9A=C2=8AX=C2=A7=C2=82X=C5=BD=C4=B7=C3=96=C4=A8=C2=93=07=C2=9Bvv=C5= =AA=C4=85:.=C2=9E=C3=8B=C2=9B=C4=85=C4=98=C3=A2m=C3=A1&j)m=C4=92=C3=96=C4=A8= =C2=92W=C2=9A=E2=80=95=C4=97=1Em=C5=B2=C3=9A=C5=A1=C3=86=C5=A6r=18=C5=8Az=C4= =8Cm=C4=B7=C2=9F=C4=B8=C3=83=0C0y=C2=B7gj=C3=AB?=C4=A8=C4=BB=1Evv=C2=A7=C5= =A1g=C5=A6 =0Ey=06=C4=8D=11z=C2=9A+=C4=B7)=C4=81=C4=93=C4=99i=C4=92=C5=A7p= y=C2=B7g --Apple-Mail=_0F8444B4-3173-4F0E-B19A-98E2AF37E598 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Vincent

What you = need to do is:

1) ensure that that the user name that you log in with is a = member of www-data group

sudo usermod -a -G www-data yourusername

The -a (append) switch = is essential otherwise, the user will be removed from any groups, not in = the list.
The -G switch takes a (comma-separated) = list of additional groups to assign the user to.

2) change the ownership of the root = directory of your website to be owned by you and www-data

sudo chown -R = yourusername:www-data  /var/www/html/websiteroot

The -R (recursive) = changes the ownership for the directory and everything in it.

3) change permissions on = the same directory

sudo chmod -R  775   = /var/www/html/websiteroot

The -R (recursive) changes the permissions for the directory = and everything in it.

775 gives the following

owner (you) read, write, = execute
group (www-data) read , write, = execute
everyone else read, execute


I assume that you are using username & password to ssh = into your server. If this is the case use port 22 in your ftp config, = this is known as SFTP.


If you are still having = problems, try a reboot.



Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 30 Aug 2019, at 21:00, Vincent Medina <vmedina@apcn.net> = wrote:

I probably should have been clearer. When I try to FTP = files directly to Apache web server root I get permission denied. I can = only upload to my home directory. I read a couple articles when you have = to do sudo SU but it just kicks me out of whatever program I'm = using



Sincerely,

Vincent Medina
Technology Consultant

(305)785-3355

-------- Original message = --------
From: "Scott @ Itsula" <scott@itsula.co.uk> 
Date: = 8/30/19 6:50 AM (GMT-05:00)
To: talk@webdna.us, Vincent = Medina <vmedina@apcn.net> 
Subject: RE: [WebDNA] Ubuntu and WebDNA

Am also using WinSCP

 

From: WebDNA Solutions
Sent: 30 August 2019 04:20
To: Vincent Medina
Cc: talk@webdna.us
Subject: Re: [WebDNA] Ubuntu and = WebDNA

 


> how are you guys = transferring files?

Filezilla


Regards,
Kenneth = Grome
WebDNA Solutions
http://www.webdnasolutions.com
Urgent/Emergency Phone: (228) 222-2917
Website, = Database, Network, and Communication Systems



---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug= Reporting: support@webdna.us
N=18=C5=BD=C2=99=C3=AB,j=07=C4=92=C4=93=C4=AE=C2=A7=C4=B7=C3=9A= 2=C4=92=C3=A6=C3=9Eq=C5=A6=C5=BD{*.j=C2=B7=C5=BD=C4=91=C5=A7=1C=C5=AA&= =C3=9Ev=C3=9A-=C2=85=C3=A9=C2=9A=C2=8AX=C2=A7=C2=82X=C5=BD=C4=B7=C3=96=C4=A8= =C2=93=07=C2=9Bvv=C5=AA=C4=85:.=C2=9E=C3=8B=C2=9B=C4=85=C4=98=C3=A2m=C3=A1= &j)m=C4=92=C3=96=C4=A8=C2=92W=C2=9A=E2=80=95=C4=97=1Em=C5=B2=C3=9A=C5=A1= =C3=86=C5=A6r=18=C5=8Az=C4=8Cm=C4=B7=C2=9F=C4=B8=C3=83=0C= 0y=C2=B7gj=C3=AB?=C4=A8=C4=BB=1Evv=C2=A7=C5=A1g=C5=A6 =0Ey=06=C4=8D=11= z=C2=9A+=C4=B7)=C4=81=C4=93=C4=99i=C4=92=C5=A7py=C2=B7g

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_0F8444B4-3173-4F0E-B19A-98E2AF37E598-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Ubuntu and WebDNA (Paul Willis 2019)
  2. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  3. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  4. RE: [WebDNA] Ubuntu and WebDNA ("Scott @ Itsula" 2019)
  5. RE: [WebDNA] Ubuntu and WebDNA (Vincent Medina 2019)
  6. RE: [WebDNA] Ubuntu and WebDNA ("Scott @ Itsula" 2019)
  7. Re: [WebDNA] Ubuntu and WebDNA (WebDNA Solutions 2019)
  8. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  9. FW: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  10. RE: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  11. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  12. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  13. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  14. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  15. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  16. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  17. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  18. [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
2351 --Apple-Mail=_0F8444B4-3173-4F0E-B19A-98E2AF37E598 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Vincent What you need to do is: 1) ensure that that the user name that you log in with is a member of = www-data group sudo usermod -a -G www-data yourusername The -a (append) switch is essential otherwise, the user will be removed = from any groups, not in the list. The -G switch takes a (comma-separated) list of additional groups to = assign the user to. 2) change the ownership of the root directory of your website to be = owned by you and www-data sudo chown -R yourusername:www-data /var/www/html/websiteroot The -R (recursive) changes the ownership for the directory and = everything in it. 3) change permissions on the same directory sudo chmod -R 775 /var/www/html/websiteroot The -R (recursive) changes the permissions for the directory and = everything in it. 775 gives the following owner (you) read, write, execute group (www-data) read , write, execute everyone else read, execute I assume that you are using username & password to ssh into your server. = If this is the case use port 22 in your ftp config, this is known as = SFTP. If you are still having problems, try a reboot. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 30 Aug 2019, at 21:00, Vincent Medina wrote: >=20 > I probably should have been clearer. When I try to FTP files directly = to Apache web server root I get permission denied. I can only upload to = my home directory. I read a couple articles when you have to do sudo SU = but it just kicks me out of whatever program I'm using >=20 >=20 >=20 > Sincerely, >=20 > Vincent Medina > Technology Consultant >=20 > (305)785-3355 >=20 > -------- Original message -------- > From: "Scott @ Itsula" >=20 > Date: 8/30/19 6:50 AM (GMT-05:00) > To: talk@webdna.us , Vincent Medina = >=20 > Cc: talk@webdna.us > Subject: RE: [WebDNA] Ubuntu and WebDNA >=20 > Am also using WinSCP > =20 > From: WebDNA Solutions > Sent: 30 August 2019 04:20 > To: Vincent Medina > Cc: talk@webdna.us > Subject: Re: [WebDNA] Ubuntu and WebDNA > =20 >=20 > > how are you guys transferring files? >=20 > Filezilla >=20 >=20 > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Urgent/Emergency Phone: (228) 222-2917 > Website, Database, Network, and Communication Systems >=20 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us = > archives: http://www.webdna.us/page.dna?numero=3D55 = > Bug Reporting: support@webdna.us > N=18=C5=BD=C2=99=C3=AB,j=07=C4=92=C4=93=C4=AE=C2=A7=C4=B7=C3=9A2=C4=92=C3= =A6=C3=9Eq=C5=A6=C5=BD{*.j=C2=B7=C5=BD=C4=91=C5=A7=1C=C5=AA&=C3=9Ev=C3=9A-= =C2=85> = =C3=A9=C2=9A=C2=8AX=C2=A7=C2=82X=C5=BD=C4=B7=C3=96=C4=A8=C2=93=07=C2=9Bvv=C5= =AA=C4=85:.=C2=9E=C3=8B=C2=9B=C4=85=C4=98=C3=A2m=C3=A1&j)m=C4=92=C3=96=C4=A8= =C2=92W=C2=9A=E2=80=95=C4=97=1Em=C5=B2=C3=9A=C5=A1=C3=86=C5=A6r=18=C5=8Az=C4= =8Cm=C4=B7=C2=9F=C4=B8=C3=83=0C0y=C2=B7gj=C3=AB?=C4=A8=C4=BB=1Evv=C2=A7=C5= =A1g=C5=A6 =0Ey=06=C4=8D=11z=C2=9A+=C4=B7)=C4=81=C4=93=C4=99i=C4=92=C5=A7p= y=C2=B7g --Apple-Mail=_0F8444B4-3173-4F0E-B19A-98E2AF37E598 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Vincent

What you = need to do is:

1) ensure that that the user name that you log in with is a = member of www-data group

sudo usermod -a -G www-data yourusername

The -a (append) switch = is essential otherwise, the user will be removed from any groups, not in = the list.
The -G switch takes a (comma-separated) = list of additional groups to assign the user to.

2) change the ownership of the root = directory of your website to be owned by you and www-data

sudo chown -R = yourusername:www-data  /var/www/html/websiteroot

The -R (recursive) = changes the ownership for the directory and everything in it.

3) change permissions on = the same directory

sudo chmod -R  775   = /var/www/html/websiteroot

The -R (recursive) changes the permissions for the directory = and everything in it.

775 gives the following

owner (you) read, write, = execute
group (www-data) read , write, = execute
everyone else read, execute


I assume that you are using username & password to ssh = into your server. If this is the case use port 22 in your ftp config, = this is known as SFTP.


If you are still having = problems, try a reboot.



Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 30 Aug 2019, at 21:00, Vincent Medina <vmedina@apcn.net> = wrote:

I probably should have been clearer. When I try to FTP = files directly to Apache web server root I get permission denied. I can = only upload to my home directory. I read a couple articles when you have = to do sudo SU but it just kicks me out of whatever program I'm = using



Sincerely,

Vincent Medina
Technology Consultant

(305)785-3355

-------- Original message = --------
From: "Scott @ Itsula" <scott@itsula.co.uk> 
Date: = 8/30/19 6:50 AM (GMT-05:00)
To: talk@webdna.us, Vincent = Medina <vmedina@apcn.net> 
Subject: RE: [WebDNA] Ubuntu and WebDNA

Am also using WinSCP

 

From: WebDNA Solutions
Sent: 30 August 2019 04:20
To: Vincent Medina
Cc: talk@webdna.us
Subject: Re: [WebDNA] Ubuntu and = WebDNA

 


> how are you guys = transferring files?

Filezilla


Regards,
Kenneth = Grome
WebDNA Solutions
http://www.webdnasolutions.com
Urgent/Emergency Phone: (228) 222-2917
Website, = Database, Network, and Communication Systems



---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug= Reporting: support@webdna.us
N=18=C5=BD=C2=99=C3=AB,j=07=C4=92=C4=93=C4=AE=C2=A7=C4=B7=C3=9A= 2=C4=92=C3=A6=C3=9Eq=C5=A6=C5=BD{*.j=C2=B7=C5=BD=C4=91=C5=A7=1C=C5=AA&= =C3=9Ev=C3=9A-=C2=85=C3=A9=C2=9A=C2=8AX=C2=A7=C2=82X=C5=BD=C4=B7=C3=96=C4=A8= =C2=93=07=C2=9Bvv=C5=AA=C4=85:.=C2=9E=C3=8B=C2=9B=C4=85=C4=98=C3=A2m=C3=A1= &j)m=C4=92=C3=96=C4=A8=C2=92W=C2=9A=E2=80=95=C4=97=1Em=C5=B2=C3=9A=C5=A1= =C3=86=C5=A6r=18=C5=8Az=C4=8Cm=C4=B7=C2=9F=C4=B8=C3=83=0C= 0y=C2=B7gj=C3=AB?=C4=A8=C4=BB=1Evv=C2=A7=C5=A1g=C5=A6 =0Ey=06=C4=8D=11= z=C2=9A+=C4=B7)=C4=81=C4=93=C4=99i=C4=92=C5=A7py=C2=B7g

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_0F8444B4-3173-4F0E-B19A-98E2AF37E598-- . Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Download URL & access on the fly ? (1997) SiteEdit NewFile.html ? (1997) Permissions Ignored - PLEASE HELP (2003) WebDNA error. (2006) Separate SSL Server (1997) Trouble with formula.db (1997) I'm new be kind (1997) Spiders (2000) [Webcat 2]Next (1997) UPPERCASE (1997) Searching an Email database (1997) Need relative path explanation (1997) Search returns all, not 20 (1997) WebCat2 Append problem (B14Macacgi) (1997) WebDNA Payment Alternatives (2003) Configuring E-mail (1997) CommandSecurity? (1997) RequiredFields notes ... (1997) webcat feature request (1997) WebCatalog for guestbook ? (1997)