You are not logged in.

#1 2013-01-07 14:38:59

White girl
Member
Registered: 2012-12-24
Posts: 34

Can't access NTFS partition on Thunar.

Screenshot of an error:
TqH6o.png

This NTFS partition is Windows 7 installed and it is on same hard drive. How can I solve this?

Last edited by White girl (2013-01-07 14:39:14)

Offline

#2 2013-01-07 14:53:00

Lord Bo
Member
Registered: 2012-11-11
Posts: 168

Re: Can't access NTFS partition on Thunar.

If the partition is on the same hdd you need to make an entry in your /etc/fstab . (Otherwise you can look into the wiki page for Xfce under "Removable Devices".) Note, that if you want mount it writable, you need to use ntfs-ng.

Last edited by Lord Bo (2013-01-07 14:58:31)

Offline

#3 2013-01-07 16:55:45

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Can't access NTFS partition on Thunar.

Also make sure you have an active systemd session and that you have polkit installed.

Offline

#4 2013-01-07 19:09:33

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 233

Re: Can't access NTFS partition on Thunar.

anonymous_user wrote:

Also make sure you have an active systemd session and that you have polkit installed.

Post result of commands:

ck-list-sessions
systemctl list-units | grep systemd
systemctl list-units | grep polkit

*edited

Last edited by Fixxer (2013-01-07 19:22:55)

Offline

#5 2013-01-07 19:18:26

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Can't access NTFS partition on Thunar.

And what would be the use of those commands? The former would only work if consolekit (deprecated) is still installed. As for the latter, maybe you wanted "systemctl list-units | grep polkit" instead?

Offline

#6 2013-01-07 19:30:17

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Can't access NTFS partition on Thunar.

Since it is an internal disk just add it to fstab. The default polkit rules does not give users permission to mess with internal disks.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2013-01-07 20:27:11

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Can't access NTFS partition on Thunar.

OT @ Mr.Elending

Into which category (internal / external) would fall an eSATA drive hot-plugged (after login) into an eSATA connector which is connected to an internal SATA port?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#8 2013-01-07 20:45:17

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Can't access NTFS partition on Thunar.

I believe eSATA is treated as internal.

Offline

#9 2013-01-07 20:49:33

Lord Bo
Member
Registered: 2012-11-11
Posts: 168

Re: Can't access NTFS partition on Thunar.

How is that determined anyway? (I'm just curious, if you know, tell me, otherwise, since I don't have any concrete Problem with that, you might as well ignore this post.)

Last edited by Lord Bo (2013-01-07 20:50:01)

Offline

#10 2013-01-07 21:02:29

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Can't access NTFS partition on Thunar.

I believe udev uses the bus to determine which devices are internal or external, and since eSATA is damn near identical to SATA its considered internal.

Last edited by anonymous_user (2013-01-07 21:02:56)

Offline

#11 2013-01-07 21:22:41

Lord Bo
Member
Registered: 2012-11-11
Posts: 168

Re: Can't access NTFS partition on Thunar.

Ah, ok, I thought it would depend on some tricky heuristic depending on which hdds were present at installation of the system and where, but well, as it is not that important, I shall give the developers a break.

Last edited by Lord Bo (2013-01-07 21:24:17)

Offline

#12 2013-01-07 23:08:51

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Can't access NTFS partition on Thunar.

alphaniner wrote:

OT @ Mr.Elending

Into which category (internal / external) would fall an eSATA drive hot-plugged (after login) into an eSATA connector which is connected to an internal SATA port?

Out of the box, say as internal, but you can use a udev rule to tag it as removable.

https://wiki.archlinux.org/index.php/Ud … s_as_eSATA
https://wiki.archlinux.org/index.php/Ud … 2C_are_not

Last edited by Mr.Elendig (2013-01-07 23:11:42)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#13 2013-01-08 04:31:47

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Can't access NTFS partition on Thunar.

Thanks for the info. I mostly asked out of curiosity, but I decided to give it a try at home. It didn't work. sad

$ find /sys/devices -name sdb
/sys/devices/pci0000:00/0000:00:09.0/ata6/host5/target5:0:0/5:0:0:0/block/sdb
$ cat /etc/udev/rules.d/10-esata.rules 
DEVPATH=="/devices/pci0000:00/0000:00:09.0/ata6/host5/*", ENV{UDISKS_SYSTEM_INTERNAL}="0"

I've rebooted since adding the rule. Udisks and udisks2 are installed. Still get the 'Not authorized...' error in Thunar.

I enabled debugging on the systemd-udevd.service file, and there's a lot of output. All I could tell is that the rule seems to be working. I saw a reference to the file "/run/udev/data/+scsi_device:5:0:0:0", which contains the line "E:UDISKS_SYSTEM_INTERNAL=0". Without the rule there's no such file.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#14 2013-01-08 06:24:37

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 233

Re: Can't access NTFS partition on Thunar.

Remember that small tool called ntfs-config did the trick. I checked this out, and all is OK. Install it from AUR repository:

yaourt -S ntfs-config

Then go to menu and do the simple config. Thunar is automonting my small 'testing' NTFS partition without any problems:

The file was created as an ordinary user. There's some output from terminal:

console wrote:

root@archlinux ~ % pacman -Q | grep thunar
thunar 1.6.2-1
thunar-archive-plugin 0.3.0-2
thunar-media-tags-plugin 0.2.0-2
thunar-volman 0.8.0-1

console wrote:

root@archlinux ~ % fdisk -l | grep NTFS
/dev/sda13       94289920    94390271       50176    7  HPFS/NTFS/exFAT
root@archlinux ~ % cat /etc/mtab | grep /dev/sda13
/dev/sda13 /media/sda13 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0

Last edited by Fixxer (2020-09-14 12:19:07)

Offline

Board footer

Powered by FluxBB