You are not logged in.

#1 2020-05-15 11:31:42

serialschoenberg
Member
Registered: 2020-04-01
Posts: 7

[SOLVED] cp and file manager

Salut,

when I insert an USB device on a lenovo v320 + BL a file graphical file manager is launched; the USB is mounted automati ..(z.B. on /media/xxx/YYYYY/); a cp command in a terminal (z.B. cp x.mp4 /media/xxx/YYYYY/), the process is infinite and is not killable
(kill -9 <n>).

A bug or a fitcher ?

Last edited by serialschoenberg (2020-05-16 10:48:12)

Offline

#2 2020-05-15 17:14:56

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 407

Re: [SOLVED] cp and file manager

serialschoenberg wrote:

A bug or a fitcher ?

I have only found "fitcher" when mining: https://www.wordnik.com/words/fitcher...

I personaly do not like the automount function, I disable it in the file manager.

If you use it, automounted partisons is available in /media/username/partition-label or partion-UUID.

Can you copy any file to the usb-partion? Is only big mediafiles that hang?
What filesystem do the usb-disk has and is it healthy? Have you done filescheck?
What filepermission is the partition mounted with?
Is there any differense if you copy the file as root, and kill the process as root?

Command: "z.B. cp x.mp4 /media/xxx/YYYYY/", seems curious...

What is the exact command?

Last edited by rbh (2020-05-15 17:15:34)


// Regards rbh

Offline

#3 2020-05-15 19:16:49

ohnonot
...again
Registered: 2015-09-29
Posts: 4,525
Website

Re: [SOLVED] cp and file manager

Automount is starting a file copy operation after mounting the USB? That should not happen unless you configured it so.


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#4 2020-05-16 06:17:01

serialschoenberg
Member
Registered: 2020-04-01
Posts: 7

Re: [SOLVED] cp and file manager

Thanks.

The issue persists and is due to automounting.

Is it possible to delete automounting?

Offline

#5 2020-05-16 07:55:58

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 407

Re: [SOLVED] cp and file manager

serialschoenberg wrote:

The issue persists and is due to automounting.

So, if you manually unmount the usb-disk and manualy mount it, then it is ok to copy big oŕ small files to the stick, It is only then you automount it, the copy-opereration hangs.
It sounds very odd. I suspect, you have not examined the situation enough, not even looked in to my questions.

Is it possible to delete automounting?

No. But, as I wrote, you can disable automount in the filemanager. If you can't find the setting, just open a terminal and give the command "thunar-volman-settings", as a regular user.

Btw, package pmount enables to mount removable devices as normal user.


// Regards rbh

Offline

#6 2020-05-16 09:09:22

serialschoenberg
Member
Registered: 2020-04-01
Posts: 7

Re: [SOLVED] cp and file manager

In the thunar preferences I disabled all the settings of the removable devices and now it seems to be ok.

I installed pmount (and so also pumount): it is perfect.

Thanks rbh and ohnonot !

Offline

#7 2020-05-16 09:35:45

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 407

Re: [SOLVED] cp and file manager

serialschoenberg wrote:

In the thunar preferences I disabled all the settings of the removable devices and now it seems to be ok.

Don't forget to edit the thread as Solved!


// Regards rbh

Offline

#8 2020-05-17 04:49:14

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: [SOLVED] cp and file manager

I've been using automount forever - never had a peoblem.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#9 2020-05-17 08:00:07

serialschoenberg
Member
Registered: 2020-04-01
Posts: 7

Re: [SOLVED] cp and file manager

Ha, you live upstairs.

Offline

#10 2020-05-17 19:46:12

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,129

Re: [SOLVED] cp and file manager

As a matter of fact, yes I do.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

Board footer

Powered by FluxBB