You are not logged in.

#1 2019-11-11 17:49:38

brijabasi
Member
Registered: 2015-02-10
Posts: 5

HDD automounts with windows restrictions

My external ntfs hdd is automounted with windows restrictions on file names (:, ? etc.) and I can't copy any file that contains these symbols to the hdd. However, when I mount it with sudo, everything works fine. Previously there was no such problem. Is it because of some changes in ntfs-3g? Any help would be extremely appreciated.

Offline

#2 2019-11-11 18:29:38

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: HDD automounts with windows restrictions

Whatever automounts the drive likely passes "windows_names" to the parameters.

Offline

#3 2019-11-13 13:58:21

brijabasi
Member
Registered: 2015-02-10
Posts: 5

Re: HDD automounts with windows restrictions

Ok, but how do I catch the culprit? I'm on KDE. Any advice? I don't remember this strange behavior previously.

Offline

#4 2019-11-13 14:14:14

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: HDD automounts with windows restrictions

a) did you check the "mount" output on whether that's actually the case?
b) well, what does automount the drive? Some kde daemon, udiskie, …  etc.?

Offline

#5 2019-11-13 14:45:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,736

Re: HDD automounts with windows restrictions

Well udisks2 definitely does mount it that way by default: https://github.com/storaged-project/udi … tem.c#L391

But it seems to be quite hard to dig up anything on how to configure that differently. Or rather it's not really implemented yet to configure that differently: https://github.com/storaged-project/udisks/issues/609

Last edited by V1del (2019-11-13 14:51:30)

Offline

#6 2019-11-13 15:05:37

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: HDD automounts with windows restrictions

Ughh.
In that case you best exclude the drive from the automount daemon (solid-device-automounter kcm?) so the systemd on-demand mount configured in fstab can kick in.

Offline

#7 2019-11-14 12:41:49

brijabasi
Member
Registered: 2015-02-10
Posts: 5

Re: HDD automounts with windows restrictions

Thank you for your answers and your help.

Offline

Board footer

Powered by FluxBB