I guess I’m not fully understanding what’s wrong here.
NFS is a security, simply because we’ve assumed chmod 777 to the directory and, in the exports file, given rw to the /images/dev file. This issue could be easily fixed with adding/changing nfs permissions to a user on the FOG server authicated within the pxelinux.cfg/default (or generated pxe) file. Just add the username and password during the creation of the file that is then added to the fog script to “authenticate” the user to the nfs. Then, the permissions could be rw for the entire /images directory. Create the file in /images/dev as per usual, and after, move (mv) the file down to the /images directory.
This will remove the need for ftp, unless that’s how you still want image replication between storagenodes.
I’m doing the best with what I’ve got right now, but I haven’t the time to figure all of this out quite yet.