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 https://www.pa0esh.com/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.

Soundmodem / direwolf audio settings & more

TOM, VA3TS sent me this note about setting up the alsa sound mixer

When adjusting volume with alsamixer, be sure to turn off the automatic gain control. This is tricky to do but it will solve the “volume too high” problem.

1. open alsamixer from the command line
2. F6 to select the sound device. For me it is C-media USB headphone set.
3. Use left/right arrow to highlite “Auto Gain Control”
4. Press m key to turn Auto Gain Control off (note it changes to [Off] in the “Item:” list above
5. Use right/left arrow to highlite the “Mic CAPTURE” colume.
6. Use up/down arrow to adjust the mic level. Mine is about 30 for best audio
7. Now monitor the Direwolf window and watch for audio levels about 30-50
  HINT:  If you started Direwolf with it's coloring enabled and now all your 
           console text is blinking, you can use the command "tput reset" to 
           clear things out. Better to start with direwolf -t 0

My Musical Career

I started playing bass guitar since 2007, and currently play in LOFT and Sadsongs.
LOFT is a friends band, where practising is the main issue, and we perform once a year for friends and relatives.
Sadsongs is an Americana, blues, folk band and performs more regularly.
You can find us on the social media.

Here is some more video material as well….

Latest news from the site

Visitors online – 13
users – 0
guests – 13
bots – 0
The maximum number of visits was – 2024-10-28
all visitors – 6681
users – 2535
guests – 4123
bots – 23