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

General support questions
Post Reply
bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

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

Post by bigbanana69 » 2019/04/23 11:44:12

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?

hunter86_bg
Posts: 1929
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

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

Post by hunter86_bg » 2019/04/23 15:14:52

Both 'chmod' and 'chown' support recursive option '-R'.
Use it with caution or you can break software.

bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

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

Post by bigbanana69 » 2019/04/23 17:51:55

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?

aks
Posts: 2859
Joined: 2014/09/20 11:22:14

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

Post by aks » 2019/04/23 19:19:56

You are not even trying: man chmod or man chown

Post Reply

Return to “CentOS 7 - General Support”