Page 1 of 1

CentOS 7.6, how do I recusively change permissions for a single user on a partition?

Posted: 2019/04/23 11:44:12
by bigbanana69
Hi,

I'm using CentOS 7.6 Gnome Desktop.

I'm using multiple hdd's and partitions.
How do I change permissions recursively for a single user on a whole partirion, even from terminal?

Re: CentOS 7.6, how do I recusively change permissions for a single user on a partition?

Posted: 2019/04/23 15:14:52
by hunter86_bg
Both 'chmod' and 'chown' support recursive option '-R'.
Use it with caution or you can break software.

Re: CentOS 7.6, how do I recusively change permissions for a single user on a partition?

Posted: 2019/04/23 17:51:55
by bigbanana69
Well I don't want to take ownership for a partition or folder; it should be root, so chown probably isn't the command of chouce.

I had found that 'chmod -R 755 /path or 'folder name' changes to read/write permissions, but what do I need to input for a single user or group in such chmod command?

Re: CentOS 7.6, how do I recusively change permissions for a single user on a partition?

Posted: 2019/04/23 19:19:56
by aks
You are not even trying: man chmod or man chown