Vân Anh Nguyen
Member
How do I change ownership of a directory and subfolder in Ubuntu?
Answer
A folder is also known as directory file denoted by ‘d’ in the permission section. The below command will set the owner to www-data and group-owner to ubuntu for all files and directories and subdirectories.
Use the chmod command to change the permissions for all files, directories, and subdirectories.
Answer
A folder is also known as directory file denoted by ‘d’ in the permission section. The below command will set the owner to www-data and group-owner to ubuntu for all files and directories and subdirectories.
Use the chmod command to change the permissions for all files, directories, and subdirectories.