I am not an experienced C programmer by any means, but I need to allow a user to change permissions and the owner on multiple files, and the only way I know how is the code below. Would someone show me a more efficient way? Thanks.
#include <stdio.h>
#include <sys/types.h>
#include...