Permission problem. I can't use /dev/sdb1 (ext4) to copy or save files

Asked by MadhuSoodanan on 2021-01-13

Ubuntu 20.04 user. I have enough space in SSD.

Using Disks/GParted in a Linux system, how to convert my internal HDD into a storage drive so that I can use it as a USB.

Since that disks shows root as owner, I have no permission to use it. I just want to solve this issue any way. When I try to drag a folder to copy it there, it doesn't copy; it returns to its original position (repels).

Is it a mounting error? Error in choosing file type?

I have doubts in formatting using Disks app.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-disk-utility Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2021-01-19
Last query:
2021-01-19
Last reply:
2021-01-17
MadhuSoodanan (mt-madhu) said : #1

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1947256831 1947254784 928.5G 83 Linux
/dev/sdb2 1947258878 1953523711 6264834 3G 5 Extended
/dev/sdb5 1947258880 1953523711 6264832 3G 82 Linux swap / Solaris

Manfred Hampl (m-hampl) said : #2

Did you create a mount point for /dev/sda1 or how do you access it?

Manfred Hampl (m-hampl) said : #3

Is is sda or sdb?
On which device is your root file system?

MadhuSoodanan (mt-madhu) said : #4

Ok. I think there is something wrong. This has sda also. I didn't mentioned it. Let me try to format it. I think I must format it. Am I right?

MadhuSoodanan (mt-madhu) said : #5

/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 468860927 467810304 223.1G Linux filesystem

Manfred Hampl (m-hampl) said : #6

Why do you think that you have to format any partition? They are already formatted. Be careful with re-formatting, because you will lose all data that is stored in a partition if you re-format that partition.

What is the output of the commands

mount
cat /etc/fstab

MadhuSoodanan (mt-madhu) said : #7

Took time for formatting. Sorry for the delay.

Now my drives look like this: file system ends in /dev/sda2. I wish to use the other drive like a USB

Device Start End Sectors Size Type
/dev/sda1 2048 19531775 19529728 9.3G Linux swap
/dev/sda2 19531776 468860927 449329152 214.3G Linux filesystem

Device Boot Start End Sectors Size Id Type
/dev/sdb1 976760832 1953523711 976762880 465.8G 83 Linux
/dev/sdb2 2048 976760831 976758784 465.8G 83 Linux

=====================================================================================

madhu@madhu:~/Desktop$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=3974996k,nr_inodes=993749,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=800836k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18901)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/var/lib/snapd/snaps/canonical-livepatch_95.snap on /snap/canonical-livepatch/95 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_66.snap on /snap/gnome-3-34-1804/66 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_24.snap on /snap/gnome-3-34-1804/24 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1506.snap on /snap/gtk-common-themes/1506 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1705.snap on /snap/core18/1705 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/snap-store_518.snap on /snap/snap-store/518 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_10583.snap on /snap/core/10583 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/snapd_10707.snap on /snap/snapd/10707 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/snap-store_433.snap on /snap/snap-store/433 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/snapd_7264.snap on /snap/snapd/7264 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1944.snap on /snap/core18/1944 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/vlc_1700.snap on /snap/vlc/1700 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1514.snap on /snap/gtk-common-themes/1514 type squashfs (ro,nodev,relatime,x-gdu.hide)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=800836k,mode=755)
nsfs on /run/snapd/ns/canonical-livepatch.mnt type nsfs (rw)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=800832k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
nsfs on /run/snapd/ns/snap-store.mnt type nsfs (rw)
/dev/sdb1 on /media/madhu/Family type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
madhu@madhu:~/Desktop$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=2adc7727-391f-4ea4-8f4c-b89ee1d7120b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda1 during installation
UUID=bf26ee19-3e0d-4b80-9b6f-5ea4181456ce none swap sw 0 0
madhu@madhu:~/Desktop$

MadhuSoodanan (mt-madhu) said : #8

I thought my file systems are distributed in the two partitions/drives. So I decided to format. Now HDD is separated from filesystem. But still the problem persists. So need I format that drive into another type?

MadhuSoodanan (mt-madhu) said : #11

See # 7 & # 8 also.

I wish to know which type from this list should I use while formatting the storage partition (HDD):
(Linux Swap, Linux, Linux LVM, Linux RAID auto)
if don't use other OS in my PC.

Of the four, which one would you prefer or should I use? ..... Is it Linux RAID auto?

Manfred Hampl (m-hampl) said : #12

That is your current setup:

Device Start End Sectors Size Type
/dev/sda1 2048 19531775 19529728 9.3G Linux swap
/dev/sda2 19531776 468860927 449329152 214.3G Linux filesystem

Device Boot Start End Sectors Size Id Type
/dev/sdb1 976760832 1953523711 976762880 465.8G 83 Linux
/dev/sdb2 2048 976760831 976758784 465.8G 83 Linux

/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
/dev/sdb1 on /media/madhu/Family type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)

sda1 is the swap partition
sda2 is your root file system, there are all programs, your home directory, etc.
sdb1 is an additional file system for storage, for accessing it you have to use the directory "/media/madhu/Family"

There is an additional partition /dev/sdb2 which seems not formatted yet.

Is there a specific reason why the sdb disk is partitioned into two partitions (465 GB each)?

"I wish to use the other drive like a USB" What exactly do you want to do?

MadhuSoodanan (mt-madhu) said : #13

"Is there a specific reason why the sdb disk is partitioned into two partitions (465 GB each)?"

~ For two users.

"I wish to use the other drive like a USB" What exactly do you want to do?"

~ I want the HDD to use just as a storage..without using it as a file system...which can be partitioned easily. It is an internal HDD. So I don't want to detach it from the CPU. It must be user friendly and it must have all the provisions of a USB (except attaching and detaching.)...Not as a permanently mounted one.

Now I can't save anything on that drive. Need I format it?.....into which type of linux (as mentioned in #11?

MadhuSoodanan (mt-madhu) said : #14

Since nothing is in it I am not afraid to format it.

Manfred Hampl (m-hampl) said : #15

"I want the HDD to use just as a storage..without using it as a file system"
This is contradictory. To be able to store files on a device that device has to have a file system.

"Now I can't save anything on that drive. Need I format it?"
The sdb1 partition is already formatted. If you cannot store files on it, then most probably the access rights settings are wrong.

What is the output of the commands

ls -l /media
ls -l /media/madhu
ls -l /media/madhu/Family

MadhuSoodanan (mt-madhu) said : #16

madhu@madhu:~/Desktop$ ls -l /media
total 4
drwxr-x---+ 2 root root 4096 Jan 15 13:55 madhu
madhu@madhu:~/Desktop$ ls -l /media/madhu
total 0
madhu@madhu:~/Desktop$ ls -l /media/madhu/Family
ls: cannot access '/media/madhu/Family': No such file or directory
madhu@madhu:~/Desktop$

Manfred Hampl (m-hampl) said : #17

Seven hours ago the sdb1 partition was mounted on /media/madhu/Family, but apparently this is no longer the case.

What is the output of

sudo fdisk -l /dev/sda /dev/sdb
mount | grep '/sd'

MadhuSoodanan (mt-madhu) said : #18

ok

madhu@madhu:~/Desktop$ sudo fdisk -l /dev/sda /dev/sdb
[sudo] password for madhu:
Sorry, try again.
[sudo] password for madhu:
Disk /dev/sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: WDC WDS240G2G0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4448DC69-DC98-4260-A67E-17DA461740A6

Device Start End Sectors Size Type
/dev/sda1 2048 19531775 19529728 9.3G Linux swap
/dev/sda2 19531776 468860927 449329152 214.3G Linux filesystem

Disk /dev/sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EZEX-08W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x91487640

Device Boot Start End Sectors Size Id Type
/dev/sdb1 976760832 1953523711 976762880 465.8G 83 Linux
/dev/sdb2 2048 976760831 976758784 465.8G 83 Linux

Partition table entries are not in disk order.
madhu@madhu:~/Desktop$

Manfred Hampl (m-hampl) said : #19

And please the output of

mount | grep '/sd'

MadhuSoodanan (mt-madhu) said : #20

madhu@madhu:~/Desktop$ mount | grep '/sd'
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
madhu@madhu:~/Desktop$

Manfred Hampl (m-hampl) said : #21

Ok, /deb/sdb1 is not mounted any more (for whatever reason).

If you want to access or create files on a disk partition you have to mount that partition into the root file system tree.
If you plug an USB stick into the computer (and if you have configured the system accordingly), mounting is done automatically and a mount point (e.g. /media/username/disklabel) is created automatically. For a second hard disk you should create the mount point yourself.

Setting up automatic mounting of an additional disk partition requires the following:

Create an empty directory for the mount point
Set the directory access protections such that the persons who should be able to access the files have the correct access rights (and everybody else hasn't).
Create an entry with mount point and partition (and eventually additional options) in the /etc/fstab file.

Another possibility is just using the file explorer program (nautilus) to mount the partition whenever you need (by clicking on the icon for the disk partition). After doing this for the first time you have to verify whether the access rights are correct (and changing them if required).

MadhuSoodanan (mt-madhu) said : #22

I think my first disk is Ok.

Now, to the second disk, need I use the Live USB again? I think I needn't.

I just watched this video: https://www.youtube.com/watch?v=O5kh_-6e4kk and tried to create like it. I wish to make my disk appear like that. But the three disk partitions appeared within the file. Not on the side pane. I think this is Drive managing. So can gir 1.2-nautilus-3.0 do this?

The devices must appear after Trash (but in the second drive). If so should I depend on file system of SSD?

Need I create one more mount point (/)? If so three partitions on the second disc and two equal size disks?

I wish to use GParted for creating such partition. I think that might be easier.

Manfred Hampl (m-hampl) said : #23

I just watched this video: ... I wish to make my disk appear like that."

In the video it is a USB stick, but you have a built-in hard disk.
Besides that the operating system and thus the versions of nautilus are different and do not look the same.

MadhuSoodanan (mt-madhu) said : #24

#21 & #23 are highly valuable to me. But didn't solve the problem.

I think my doubts would be cleared and the problem would be solved if you could tell me "the details" and "tick marks" I should enter in the "Disk" application.

-----------------------------------------------------------
I wish to fill in the Mount options:

Mount system startup
Show in user interface
Required additional authorization to mount

Display Name
Icon Name
Symbolic Icon Name

Mount Point
Identify As
Filesystem type
----------------------------------------------------------

Need I insert anything in front of in the last 3?

MadhuSoodanan (mt-madhu) said : #25

See #24 also

Here I have

Mount point: /mnt/1cxxxxxxxxxxxxxxxxxxxxxxxx
Identify As: /dev/disk/by-uuid/1cxxxxxxxxxxxxxxxxxxxxx
Filesystem Type: auto

I don't know whether my (following) guess is ok.

Display Name.......(Name of that disk)
Icon Name.......(Title under which the disk should appear)
Mount Point.....(Title)/dev/disk/by-uuid/1cxxxxxxxxxxxxxxxxxxxxx

Manfred Hampl (m-hampl) said : #26

Sorry, but I do not understand your last two comments.

MadhuSoodanan (mt-madhu) said : #29

It is about the default application "Disks". If you click on the button for unmount (while clicking on the specified disk) you can see Edit options for entering those details in one of the window of that app (in format button).

I strongly believe that this issue can be solved if I know the entries for that window--for editing.

The last three lines are my guess. I don't know whether the entries are right or wrong.

MadhuSoodanan (mt-madhu) said : #30
Manfred Hampl (m-hampl) said : #31

The first step that you have to do is deciding on the mount point. This is needed in any case, independent whether you configure by editing the fstab file or using a GUI.
I advise against using complicated names with hex IDs like /mnt/1cxxxxxxxxxxxxxxxxxxxxxxxx but recommend something that can easily be typed and remembered, perhaps something like /mnt/madhu/data
For the additional options that you might need see the advice in the linked document: "If you're not sure about the mount options (such as nosuid, nodev, nofail, etc), issue the command man mount and look through the FILESYSTEM-INDEPENDENT MOUNT OPTIONS section."

MadhuSoodanan (mt-madhu) said : #32

At present it has (nosuid,nodev,nofail,x-gvfs-show). In that window of that application I have edit options for that. If so, just for enabling copying folder and for rewriting files (as from a USB) wouldn't this app be the easiest one....I have already mentioned my needs. I have no problem with mount point. It is in other locations.

MadhuSoodanan (mt-madhu) said : #33

I don't think terminal commands are not needed for this kind of use...with different partitions/drives. Isn't this a normal case?

MadhuSoodanan (mt-madhu) said : #35

At present it has (nosuid,nodev,nofail,x-gvfs-show). In that window of that application I have edit options for that. If so, just for enabling copying folder and for rewriting files (as from a USB) wouldn't this app be the easiest one....I have already mentioned my needs. I have no problem with mount point that is seen on the left pannel of the windo...it is in "Other locations".

I don't think terminal commands or gedit are not needed for this kind of issues...about different partitions/drives. Isn't this a normal case?

The guy who came to install Ubuntu installed it on SSD and after the installation he partitioned it into two; without using any Live USB and formatted that drive.

Manfred Hampl (m-hampl) said : #36

Just to explain:
Configuration settings in Linux systems are stored in configuration files.
If someone has to change some settings, the contents of the related configuration file have to be adapted.
This usually can be done by editing the config file with a text editor (with the potential risk of adding nonsense values into the config file such that the system does not work as desired), but for several frequently used configuration actions there is also a GUI program that helps you (by proposing only allowed values, doing syntax and consistency checks before saving, etc.).

Manfred Hampl (m-hampl) said : #37

Have you already decided on a mount point?
You have to create an empty directory there and set the access rights the way you need them.
Already written in comment #21. This has nothing to do with wrong formatting.

MadhuSoodanan (mt-madhu) said : #39

Yes. How to create an empty directory there and set the access rights? Is it by right-clicking and giving permission as we do in the case of folders?

When I mount it, its parent folder is /mnt/1c1xxxxxxxxxxxxxx

Manfred Hampl (m-hampl) said : #40

You need admin rights to create a directory in the area outside your home directory, and that is best done via command line using sudo.

e.g. something like

sudo mkdir /mnt/madhu
sudo chown madhu:madhu /mnt/madhu
mkdir /mnt/madhu/data

MadhuSoodanan (mt-madhu) said : #42

 I couldn't notice post #36.
That HDD had Ubuntu 16.04. The guy didn't give slow format option while installing Ubuntu.

Since I encountered the same issue I was compelled to delete the two partitions and format (slow format) (Named as ARCHIVES) and changed the file type to W95 FAT32(LBA).

Now "Permission" section and the mount point on the windows shows good. But I face the same problem. I rebooted the system and tried. But the same issue....

Now which terminal command should I use to detect the fault and proceed? Need I use the same command since there are only two disks (one with a new name)?

Here are the screenshots:

http://pix.toile-libre.org/?img=1610883525.png

http://pix.toile-libre.org/?img=1610883603.png

http://pix.toile-libre.org/?img=1610883681.png

Manfred Hampl (m-hampl) said : #43

Whaat is now the output of the commands

ls -la /media
ls -la /media/madhu
ls -la /media/madhu/ARCHIVES
mount | grep sd
cat /etc/fstab

In my opinion it does not make much sense to use a file system in Microsoft proprietary format on a Linux system unless you want to access that disk partition from both Windows and Ubuntu, but that was your decision.

MadhuSoodanan (mt-madhu) said : #44

madhu@madhu:~/Desktop$ ls -la /media
total 16
drwxr-xr-x 4 root root 4096 Jan 17 17:25 .
drwxr-xr-x 20 root root 4096 Jan 14 21:19 ..
drwxr-x---+ 2 root root 4096 Jan 17 17:31 jayanth
drwxr-x---+ 2 root root 4096 Jan 17 17:07 madhu
madhu@madhu:~/Desktop$ ls -la /media/madhu
total 8
drwxr-x---+ 2 root root 4096 Jan 17 17:07 .
drwxr-xr-x 4 root root 4096 Jan 17 17:25 ..
madhu@madhu:~/Desktop$ ls -la /media/madhu/ARCHIVES
ls: cannot access '/media/madhu/ARCHIVES': No such file or directory
madhu@madhu:~/Desktop$ mount | grep sd
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
madhu@madhu:~/Desktop$ cat /etc/fstab

MadhuSoodanan (mt-madhu) said : #45

See # 44 also

I don't wish to use Windows in future also.

Manfred Hampl (m-hampl) said : #46

You have to change ownership to yourself for the /media/madhu directory

MadhuSoodanan (mt-madhu) said : #50

The ownership of /media/madhu directory is to root. So I don't know how to change it. Need I open that folder in Terminal?
Is this the command?

chmod o+rwx file1

MadhuSoodanan (mt-madhu) said : #51

See #50

If it is the command, need I add any sign or make any change in the command line?

Best Manfred Hampl (m-hampl) said : #52

I have already given the answer in comment #40

sudo chown madhu:madhu /media/madhu

MadhuSoodanan (mt-madhu) said : #53

That command didn't work.

madhu@madhu:~/Desktop$ sudo chown madhu:madhu /media/madhu
[sudo] password for madhu:
madhu@madhu:~/Desktop$

Is it because there is a space before / ?

Manfred Hampl (m-hampl) said : #54

How do you know that the command didn't work?

Manfred Hampl (m-hampl) said : #55

What is the output of

ls -la /media
ls -la /media/madhu

MadhuSoodanan (mt-madhu) said : #56

Gave permission
But not working.

http://pix.toile-libre.org/?img=1610900699.png

Manfred Hampl (m-hampl) said : #57

What is not working?

Is the partition of the second hard disk already mounted there?

MadhuSoodanan (mt-madhu) said : #58

Still nothing can't copy into (HDD) ie ARCHIVE. The second hard disk is already mounted. ARCHIVES shows the folder is empty and I can't copy anything into that folder.

MadhuSoodanan (mt-madhu) said : #59

madhu@madhu:~/Desktop$ ls -la /media
total 16
drwxr-xr-x 4 root root 4096 Jan 17 17:25 .
drwxr-xr-x 20 root root 4096 Jan 14 21:19 ..
drwxr-x---+ 2 root root 4096 Jan 17 17:31 jayanth
drwxrwxrwx+ 2 madhu madhu 4096 Jan 17 22:42 madhu
madhu@madhu:~/Desktop$ ls -la /media/madhu

Manfred Hampl (m-hampl) said : #60

What is the output of

ls -la /media/madhu
mount | grep sd

?

MadhuSoodanan (mt-madhu) said : #61

madhu@madhu:~/Desktop$ ls -la /media/madhu
total 8
drwxrwxrwx+ 2 madhu madhu 4096 Jan 17 22:46 .
drwxr-xr-x 4 root root 4096 Jan 17 17:25 ..
madhu@madhu:~/Desktop$ mount | grep sd

MadhuSoodanan (mt-madhu) said : #65

Luckily now it is working. Thanks

Copy paste is working;. Dragging is not working. But I that is never a must. So, need I still wait for editing any configuration?

Even though I didn't install Ubuntu by myself, I wish to get some basic advice from you while attempting this type of installation. Before this installation I didn't need this type of installation since I had only a single hard disk. But from next year onwards I will need to install Ubuntu like this--without touching HDD while installing Ubuntu. That was why I am not interested terminal command in this case. And the reason for using "Disks" App and GParted. But now in 20.04 GParted is not a default app. So I will need to use "Disks" App from now on.

You commented about the File type in #43. I wish to know your best choice for a linux-only-system for this type of a partition.

Manfred Hampl (m-hampl) said : #66

What kind of dragging is not working? What are you dragging where?

And file system type: My suggestion would have been ext4 (or ext3) and not FAT* or ntfs. If you have specific needs then also other file systems could be the recommended choice (e.g. btrfs), see also https://help.ubuntu.com/community/LinuxFilesystemsExplained and https://en.wikipedia.org/wiki/Comparison_of_file_systems

MadhuSoodanan (mt-madhu) said : #71

From this image mine is ext4
http://pix.toile-libre.org/?img=1610883603.png

Clicking and dragging, I mean "Clicking and dragging a new file/folder to ARCHIVES for copying".

I got a comparison chart from Gpart...../View/File System Support .... from which one can identify the compatibility very easily.

GParted shows ext4
http://pix.toile-libre.org/?img=1610965067.png

MadhuSoodanan (mt-madhu) said : #72

Thanks Manfred Hampl, that solved my question.

MadhuSoodanan (mt-madhu) said : #73

Thanks, Manfred Hampl.

I was confused while using a system installed by a person who was not familiar with Linux. I didn't know whom to contact. Also I couldn't inform the details in #65 earlier. All the pieces of information are very valuable to me. I have edited the title so that your great effort should help others also who google for "permission", "copy" etc.

Thanks. Thanks a lot.