Change owner of hdd

Asked by Sergio

I add a HDD to my system, format and mount it. The problem is that the owner is root and i can access it.

I try with:

sudo chown -R sergio:sergio /dev/sdb1

but it dosesnt woks.

Thanks for the help

SG

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sergio
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You dont chown block devices. You chown the mount pount you use to access it.

Revision history for this message
Sergio (sgarciagh) said :
#2

ok Thanks Andrew