2

This was the photo of my gparted from hdd:

PIC 1

I wanted to increase the hdd space by unmounting and deleting the extended partition sdb1,then creating a new partition...
Now in gparted,I have this:

PIC 2

So i wanted to open the hdd from nautilus,but i couldn't open that...
I faced with an error which says:

This location could not be displayed

You do not have the permissions necessary to view the contents of "lost+found".

Now,What should i do? I can do nothing from nautilus(copy paste a file or folder or open a new folder in hdd),but i can do anything from terminal with root permission.

Check this: PIC 3

PIC 4

Sss
  • 1,032

2 Answers2

3

Create one or more directories in your partition using

sudo mkdir directory-name

and change the ownershĂ­p to your regular user ID using

sudo chown "$USER":"$USER" directory-name

Then you should be able to use the directories (in my example "directory-name") as your regular user. In these directories you will be able to create and delete subdirectories and files without restrictions.


Note for other users: Please notice that this is a linux ext4 file system. If you have a Microsoft file system, FAT32, exFAT or NTFS, the permissions and ownership for linux is set when mounting the file system. The permissions and ownership will be inherited by all subdirectories and files. If the automatic mounting does not provide write access you can try according to the following link,

How to change default permissions on automounted usb flash, formatted in NTFS?

sudodus
  • 47,684
1

Run the following commands

$ sudo fdisk -l

You will find list of partitions, so you can identify the partition in which you are not able to copy paste or make new folder.

Run second command

$ sudo ntfsfix /dev/sdb3 

Replace /dev/sdb3 by your drive

Now run third command

$ sudo mount -o remount,rw /media/dravinash/General/

Replace /media/dravinash/General/ by your drive name

Now restart the system.

I am not an expert but I found these commands on web and it worked for me.....

avin
  • 11