Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
28
rated 0 times [  28] [ 0]  / answers: 1 / hits: 152417  / 1 Year ago, mon, february 6, 2023, 1:54:25

I m using Ubuntu 12.04 and i have to partitions part1 and part2, both are ext4. I want to transfer media files to and from them freely through programs.


More From » 12.04

 Answers
4

What I would do is the following:



Assuming you have both partitions mounted with the names part1 and part2, you will be the only one using them and you want total free control over them, I would do this:



sudo chmod 777 /media/part1 - This would give all permissions (Read, Write, Execute) to you within the part1 partition.



sudo chmod 777 /media/part2 - This would give all permissions (Read, Write, Execute) to you within the part2 partition.



The permissions (in this case 777) are as follow:



7 - Full (Read, Write & Execute)

6 - read and write

5 - read and execute

4 - read only

3 - write and execute

2 - write only

1 - execute only

0 - none



The first 7 (Starting from the Left) is for the owner, the 2nd is for the group where the owner resides. The last 7 is for other groups. Basically like this you can copy anything you want in the partitions and if you ever need to take the HDD out and connect it to another computer with Ubuntu you will not have any problems with permissions. At least in my case it saves me time because I tend to have 1 or 2 hard drives that hold movies, music and similar stuff and I move them around from PC to PC.



Just to add, if you do not know where the partitions are mounted, you can always open Disk Utility and in the information about the hard drive it will tell you where it is mounted. Remember that you need to apply this to the partition AFTER it has been mounted.


[#37139] Tuesday, February 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
avilyexplor

Total Points: 20
Total Questions: 102
Total Answers: 120

Location: Maldives
Member since Mon, Jun 21, 2021
3 Years ago
;