i wanna create folder in one of my hard disc partition but i can't because I'm not the owner. How do I do this?
2 Answers
The short answer is, you don't. There's no need for you to be manually creating directories in system paths, or to change the permissions of any of the folders or files in those paths.
If there is some specific problem you are having, which results in you thinking this action is appropriate, then you are likely hitting a bug, or trying to do something wrong based on bad information. Please ask a question instead about the specific issue you're trying to resolve with this course of action you're attempting to take, to get better answers.

- 40,982
-
my problem that i can't create folder ,fille ,copy,or storing any thing in 2 partition of my hard drive disk – Ayache Kamel Sep 06 '15 at 18:06
-
I will assume that you created a few partitions with Gparted, and you are not able to access them since the owner is root.
I had this problem myself and accidentally found a painless workaround.
Unmount partition, open Disks from dash, click the desired partition, then click the little gears > more actions > edit filesystem... and give it a new name. Mount back, and you are the owner for some reason.

- 29
- 2
-
X) yes that is what happened exactly , @9248 i unmounted the disk ,change the name but don't new haw to mount back ,haw to mount back ? >.< sorry im beginner in linux – Ayache Kamel Sep 06 '15 at 21:17
-
Click the files cabined from the Launcher on the left, it will open "Files". On left, under 'Devices' you should see the name of your partition, click it and a little icon will appear next to its name. That means it's mounted. – 9248 Sep 06 '15 at 21:32
-
-
sudo chmod 777 -R /path/to/folder
which will give you permissions to read and write to that directory, sub directories and files within the directory. – TheWanderer Sep 06 '15 at 18:24