Creating a new user for wordpress FTP

Sharing Write Permission

For more than one user to be able to write to the same directory it will be necessary to grant write permission to a group they share in common. The following example grants shared write permission to /var/www/html to the group “webmasters”

I use www-data. Just replace “webmasters” with your group, be sure you add the user to the group of course.

sudo chgrp -R webmasters /var/www/html
sudo find /var/www/html -type d -exec chmod g=rwxs “{}” \;
sudo find /var/www/html -type f -exec chmod g=rws “{}” \;
I just tested it with Dreamweaver from my mac desktop and uploaded and replaced files added files etc and it retains the correct permissions with one exception, the local user becomes owner of new files along with www-data, but any files created by root in the html directory retain their ownership as root but are editable by local user.

$ls -l
$-rw-rw-r– 1 localUser www-data 11505 May 28 09:56 index2.html
$-rw-rwSr– 1 root www-data 11535 May 28 09:58 index.html
Hope this clears up things and helps the weary, cause I know I was always weary of this situation, but now it is clear to me.

Oh and I highly recommend using sftp with keys to access your ftp, works great for me and don’t need PureFTP or any other insecure method of delivering the files to the website. There’s a good few tutorials on Digital Ocean site all about securing your server with ssh keys:

Openwrt & APRX build environment

For those who  compile Openwork & APRX themselves here a few pointers, in case you run into specific errors.
With special thanks to Wladimir, EW8BAK.

If the error indicates that you have certain ax25 files not available, solve this as follows:
Install libax25-dev (sudo apt-get install libax25-dev)

Now copy the directory /usr/include/netax25 to the openwrt/staging_dir/target-mipsel_mips32_musl-1.1.14/usr/include directory
Next find sockaddr.h and copy the whole directory in which sockaddr.h resides (named bits) also to openwrt/staging_dir/target-mipsel_mips32_musl-1.1.14/usr/include.

Now Openwork should compile, or if you just want to compile aprx, do

make package/aprx/compile -j1 V=s

APRX 2.8.2 – rev 12

APRX PhyreFly branch for OpenWrt

The latest firmware images for Openwrt & APRX have been uploaded on the 8th of Januari 2016. See the download section.
See Google groups for more info…. https://groups.google.com/forum/#!forum/aprx-software

To install just the package, do as follows….
ssh into your machine (normally something like sss root@(ip-of-machine)

Then change into the tmp directory and execute:
wget http://www.pa0esh.nl/svn/aprx_2.8.2-stable_brcm47xx.ipk

chmod 755 aprx_2.8.2-stable_brcm47xx.ipk
opkg install aprx_2.8.2-stable_brcm47xx.ipk –force-downgrade
/etc/init.d/aprx restart

In case you still run the older router and cannot upgrade to 14.07 or later, use the aprx_2.8.2-stable_mipsel.ipk package in stead.