You are not logged in.

#1 2017-08-23 10:31:33

Rafael Castellar
Member
From: Brazil
Registered: 2017-05-11
Posts: 27

[SOLVED] Arch keeps asking password for files operations at NTFS

Hi!

I bought a new laptop and did a brand new archlinux install. It's dual boot (with Windows 10) sharing a NTFS partition for my data.

But, archlinux asks me my password every time It uses the NTFS partition: when I login in gnome, when just open nautilus, sometimes when copying files. Can't figure out how to fix It. Tried several fstab configuration. I'm using ntfs-3g.

I have the Very same configuration at my work laptop, Aldo rechecked and compared them. Everything looks the same.

The different thing I noticed is in the my new laptop, going to properties of this NTFS partition It says: admin:///mnt/sda4

Never see this "admin://".

Does anyone could tell me what i'm doing wrong?

Thank you all!

Rafael

Last edited by Rafael Castellar (2017-08-25 13:23:37)

Offline

#2 2017-08-23 11:07:13

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: [SOLVED] Arch keeps asking password for files operations at NTFS

How do you mount the NTFS partition? Given that Linux cannot map NTFS-style permissions (???) to Unix-style permissions (rwx, user, group), by default only root can operate on these files. See https://wiki.archlinux.org/index.php/NT … oup.2Fuser for a workaround.

For the admin:// part, I don't use nautilus, but I would guess that it's a way of telling you that nautilus is browsing those directories with elevated permissions (presumably root). This is because running GUI applications as root is usually a bad idea (and with the reliance on dbus, it's getting more complicated anyway).


pkgs │ hacks │ cfg │ blag

Offline

#3 2017-08-23 22:41:29

Rafael Castellar
Member
From: Brazil
Registered: 2017-05-11
Posts: 27

Re: [SOLVED] Arch keeps asking password for files operations at NTFS

I'm mounting  in this way (it was generated by genstab during installation and it is the same of my laptop of my work):

 dev/sda4 /mnt/sda4 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Dados 0 0 

Tried with no success (from the link you suggested):

 /dev/sda4 /mnt/sda4 ntfs-3g     gid=users,umask=0022    0 0 

Nautilus is not with elevated permission, just with my user permission. The first password request is prompted when I just login in gnome, so, I'm thinking if it can be another problem with permission which is being reflected at partitions.

I'will recheck it.

Tks!

Offline

#4 2017-08-25 08:19:43

BLAMM0
Member
Registered: 2017-05-15
Posts: 2

Re: [SOLVED] Arch keeps asking password for files operations at NTFS

I have the same problem after a system upgrade. Everything was fine a while ago, all this started after i ran

pacman -Syu

Offline

#5 2017-08-25 10:01:56

Rafael Castellar
Member
From: Brazil
Registered: 2017-05-11
Posts: 27

Re: [SOLVED] Arch keeps asking password for files operations at NTFS

I also think so! I did full install of the OS again and everything is just fine. Maybe they correct the problem meanwhile.

Blamm, tell me if a new upgrade will fix for you, if so I you change this to Solved.

Tks

Offline

#6 2017-08-25 12:59:32

vorbote
Member
From: 8375 ft closer to the stars
Registered: 2011-02-07
Posts: 38
Website

Re: [SOLVED] Arch keeps asking password for files operations at NTFS

Your problem is in fact, having a mount entry in fstab.  TL:DR: remove it and try again.

Let me explain: GNOME uses a combination of udisks, GVFS and Nautilus to manage volume mounting. When you click on the NTFS volume in Nautilus, it will ask for the root password (or yours if you have installed sudo and added yourself to the wheel group) and happily mount it for you under /run/user/UID (using udisks); if you tell it to remember the password, it is stored in gnome-keyring and will be mounted automatically from then on. As you have already mounted the  NTFS volume, I presume, somewhere else, GVFS+udisks enters in a dead loop.

Last edited by vorbote (2017-08-25 13:30:02)


I break things and put them back together for fun and sometimes profit, because it is the only way to learn.

Offline

#7 2017-08-25 13:22:41

Rafael Castellar
Member
From: Brazil
Registered: 2017-05-11
Posts: 27

Re: [SOLVED] Arch keeps asking password for files operations at NTFS

Hi Vorbote!

Thank you for the explanation. It makes thing clear to me.

I will close this thread.

Thanks again!

Offline

Board footer

Powered by FluxBB