How can I make myself the owner of a partition? [duplicate]











up vote
0
down vote

favorite













This question already has an answer here:




  • Change owner of internal hard drive partition from root to user

    5 answers




So I installed it on a dual-boot on my Main drive, with the intention of this space being for the os and a few programs as this is my SSD with less space. I went back later and used GParted to make another partition for stuff I want to install on ubuntu on another hard drive, I have done this, and now I'm back in Ubuntu but I can't do anything to the drive as the owner is root.



I've looked online for help with this but all I can find is how to edit individual files on a root drive. how do I permanently become the owner?



if relevant the file system type is ext3/ext4










share|improve this question









New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by karel, Fabby, Eric Carvalho, Thomas, abu_bua 14 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 4




    Possible duplicate of Change owner of internal hard drive partition from root to user and How can I list the hard drive and all its partitions including size from terminal?
    – karel
    Nov 21 at 22:37

















up vote
0
down vote

favorite













This question already has an answer here:




  • Change owner of internal hard drive partition from root to user

    5 answers




So I installed it on a dual-boot on my Main drive, with the intention of this space being for the os and a few programs as this is my SSD with less space. I went back later and used GParted to make another partition for stuff I want to install on ubuntu on another hard drive, I have done this, and now I'm back in Ubuntu but I can't do anything to the drive as the owner is root.



I've looked online for help with this but all I can find is how to edit individual files on a root drive. how do I permanently become the owner?



if relevant the file system type is ext3/ext4










share|improve this question









New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by karel, Fabby, Eric Carvalho, Thomas, abu_bua 14 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 4




    Possible duplicate of Change owner of internal hard drive partition from root to user and How can I list the hard drive and all its partitions including size from terminal?
    – karel
    Nov 21 at 22:37















up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:




  • Change owner of internal hard drive partition from root to user

    5 answers




So I installed it on a dual-boot on my Main drive, with the intention of this space being for the os and a few programs as this is my SSD with less space. I went back later and used GParted to make another partition for stuff I want to install on ubuntu on another hard drive, I have done this, and now I'm back in Ubuntu but I can't do anything to the drive as the owner is root.



I've looked online for help with this but all I can find is how to edit individual files on a root drive. how do I permanently become the owner?



if relevant the file system type is ext3/ext4










share|improve this question









New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












This question already has an answer here:




  • Change owner of internal hard drive partition from root to user

    5 answers




So I installed it on a dual-boot on my Main drive, with the intention of this space being for the os and a few programs as this is my SSD with less space. I went back later and used GParted to make another partition for stuff I want to install on ubuntu on another hard drive, I have done this, and now I'm back in Ubuntu but I can't do anything to the drive as the owner is root.



I've looked online for help with this but all I can find is how to edit individual files on a root drive. how do I permanently become the owner?



if relevant the file system type is ext3/ext4





This question already has an answer here:




  • Change owner of internal hard drive partition from root to user

    5 answers








partitioning permissions






share|improve this question









New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









Zanna

49k13123234




49k13123234






New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 21 at 21:37









SparkLX

1




1




New contributor




SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






SparkLX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




marked as duplicate by karel, Fabby, Eric Carvalho, Thomas, abu_bua 14 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, Fabby, Eric Carvalho, Thomas, abu_bua 14 hours ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 4




    Possible duplicate of Change owner of internal hard drive partition from root to user and How can I list the hard drive and all its partitions including size from terminal?
    – karel
    Nov 21 at 22:37
















  • 4




    Possible duplicate of Change owner of internal hard drive partition from root to user and How can I list the hard drive and all its partitions including size from terminal?
    – karel
    Nov 21 at 22:37










4




4




Possible duplicate of Change owner of internal hard drive partition from root to user and How can I list the hard drive and all its partitions including size from terminal?
– karel
Nov 21 at 22:37






Possible duplicate of Change owner of internal hard drive partition from root to user and How can I list the hard drive and all its partitions including size from terminal?
– karel
Nov 21 at 22:37












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Hopefully the following will answer your question:



Change owner of internal hard drive partition from root to user



It says:




If the partition is called party, your user is called cyrex and it is in /media just do for example:



sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.




This would help you locate your drive:



How can I list the hard drive and all its partitions including size from terminal?



It says:




If you have an MBR partition table:



sudo fdisk -l



For both GPT and MBR partition tables:



?sudo parted -l







share|improve this answer








New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
    – SparkLX
    Nov 21 at 22:09












  • is your partition really "/media/simon/1c"
    – Aubs
    Nov 21 at 22:18












  • i used the command in the second link "lsblk" and got the mount point from the partition.
    – SparkLX
    Nov 21 at 22:19










  • Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
    – Aubs
    Nov 21 at 22:22


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Hopefully the following will answer your question:



Change owner of internal hard drive partition from root to user



It says:




If the partition is called party, your user is called cyrex and it is in /media just do for example:



sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.




This would help you locate your drive:



How can I list the hard drive and all its partitions including size from terminal?



It says:




If you have an MBR partition table:



sudo fdisk -l



For both GPT and MBR partition tables:



?sudo parted -l







share|improve this answer








New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
    – SparkLX
    Nov 21 at 22:09












  • is your partition really "/media/simon/1c"
    – Aubs
    Nov 21 at 22:18












  • i used the command in the second link "lsblk" and got the mount point from the partition.
    – SparkLX
    Nov 21 at 22:19










  • Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
    – Aubs
    Nov 21 at 22:22















up vote
0
down vote













Hopefully the following will answer your question:



Change owner of internal hard drive partition from root to user



It says:




If the partition is called party, your user is called cyrex and it is in /media just do for example:



sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.




This would help you locate your drive:



How can I list the hard drive and all its partitions including size from terminal?



It says:




If you have an MBR partition table:



sudo fdisk -l



For both GPT and MBR partition tables:



?sudo parted -l







share|improve this answer








New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
    – SparkLX
    Nov 21 at 22:09












  • is your partition really "/media/simon/1c"
    – Aubs
    Nov 21 at 22:18












  • i used the command in the second link "lsblk" and got the mount point from the partition.
    – SparkLX
    Nov 21 at 22:19










  • Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
    – Aubs
    Nov 21 at 22:22













up vote
0
down vote










up vote
0
down vote









Hopefully the following will answer your question:



Change owner of internal hard drive partition from root to user



It says:




If the partition is called party, your user is called cyrex and it is in /media just do for example:



sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.




This would help you locate your drive:



How can I list the hard drive and all its partitions including size from terminal?



It says:




If you have an MBR partition table:



sudo fdisk -l



For both GPT and MBR partition tables:



?sudo parted -l







share|improve this answer








New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









Hopefully the following will answer your question:



Change owner of internal hard drive partition from root to user



It says:




If the partition is called party, your user is called cyrex and it is in /media just do for example:



sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.




This would help you locate your drive:



How can I list the hard drive and all its partitions including size from terminal?



It says:




If you have an MBR partition table:



sudo fdisk -l



For both GPT and MBR partition tables:



?sudo parted -l








share|improve this answer








New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Nov 21 at 21:54









Aubs

422




422




New contributor




Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Aubs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
    – SparkLX
    Nov 21 at 22:09












  • is your partition really "/media/simon/1c"
    – Aubs
    Nov 21 at 22:18












  • i used the command in the second link "lsblk" and got the mount point from the partition.
    – SparkLX
    Nov 21 at 22:19










  • Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
    – Aubs
    Nov 21 at 22:22


















  • thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
    – SparkLX
    Nov 21 at 22:09












  • is your partition really "/media/simon/1c"
    – Aubs
    Nov 21 at 22:18












  • i used the command in the second link "lsblk" and got the mount point from the partition.
    – SparkLX
    Nov 21 at 22:19










  • Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
    – Aubs
    Nov 21 at 22:22
















thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
– SparkLX
Nov 21 at 22:09






thanks, but it still isnt working, i'm doing sudo chown simon:simon /media/simon/1c512beb-7a97-4cf3-a4c9-70b77521ed -R as my terminal says that partition is that but it is saying their is no such file or directory. i have also tried it with /dev/sdb2 infront of it. am i doing something wrong?
– SparkLX
Nov 21 at 22:09














is your partition really "/media/simon/1c"
– Aubs
Nov 21 at 22:18






is your partition really "/media/simon/1c"
– Aubs
Nov 21 at 22:18














i used the command in the second link "lsblk" and got the mount point from the partition.
– SparkLX
Nov 21 at 22:19




i used the command in the second link "lsblk" and got the mount point from the partition.
– SparkLX
Nov 21 at 22:19












Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
– Aubs
Nov 21 at 22:22




Sorry, I'd edited my previous comment - you can look at linuxandubuntu.com/home/… to get the list - sudo fdisk -l
– Aubs
Nov 21 at 22:22



Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局