Linux - How to give full access to home folder and files to a user?

0

I just transferred files from one Linux system to another and my program keeps complaining that it can't get access to those files - Access Denied. However, if I create those files in the linux system I am testing my program on, my program doesn't complain. So, how do you give FULL access or ROOT privileges to all the files and folders in the HOME folder to a user?

ThN

Posted 2016-05-25T14:25:22.393

Reputation: 827

You give privileges to users not files and folders. Files and folders are the owned by a user and the permissions are set for Owner, Group, and Other. – Tyson – 2016-05-25T14:47:11.290

Answers

2

You probably just need (as root): chown -R user.usergroup /home/user.

Be careful, as you will lose the correct ownership, if some files are intentionally owned by another user.

allo

Posted 2016-05-25T14:25:22.393

Reputation: 731

Fantastic... :) – ThN – 2016-05-25T14:43:12.120