If I were the root user, how would I give a user access to all files and folders in a certain directory? I tried:
# chmod 777 folderName
but even with using 777
, it only changes the top-level directory permissions and not the files and folders within it. Do I have to manually change permissions on every file? Is there a way to mass change all permissions on folders and files under the parent directory?