You are not logged in.

#1 2013-07-17 11:26:52

myweb
Member
Registered: 2013-07-13
Posts: 69

Wrong mount permissions in KDE: root has no access to mounted drive

Hello,
I am newbie in Arch linux - come from Kubuntu and faced with wrong mount permissions in KDE: root has no access to mounted drive. Drive is mounted with permissions "r-x------" and I would like to change the permissions to "r-xr--r--" at least.
Could you please help to change mount permissions?
There is no such issue in Kubuntu, Debian...

Last edited by myweb (2013-07-17 11:27:07)

Offline

#2 2013-07-17 11:32:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: Wrong mount permissions in KDE: root has no access to mounted drive

How is the device mounted?  Is it in your fstab?  If so, show that file.

What is the filesystem?  Do you have that filesystems utilities installed (eg, if it's ntfs, do you have ntfs-3g installed)?

What is the output of `mount`?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-07-17 11:42:54

myweb
Member
Registered: 2013-07-13
Posts: 69

Re: Wrong mount permissions in KDE: root has no access to mounted drive

Trilby wrote:

How is the device mounted?

Device is mounted via KDE notification/dolphin.

Trilby wrote:

Is it in your fstab?  If so, show that file.

No

Trilby wrote:

What is the filesystem?

Filesystem is NTFS.

Trilby wrote:

Do you have that filesystems utilities installed (eg, if it's ntfs, do you have ntfs-3g installed)?

It looks like yes since mounted the drive user could access files on the drive.

Trilby wrote:

What is the output of `mount`?

Will provide later.

Offline

#4 2013-07-17 12:00:19

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Wrong mount permissions in KDE: root has no access to mounted drive

Since the filesystem is NTFS, did you install the NTFS-3G driver? If not, the filesystem will be mounted read only because there is no driver. See the wiki on NTFS-3G for more information.

EDIT: Didn't see that Trilby already provided this info, sorry.

Last edited by runical (2013-07-17 12:03:50)

Offline

#5 2013-07-17 12:12:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: Wrong mount permissions in KDE: root has no access to mounted drive

Wait, your user can access it, but the root user can't?  That shouldn't be possible.  If this is indeed what you are saying, I'll first give the caveat that I could be wrong as I've never seen such a thing, but I'd suspect something could be more globally faulty with your permissions.

But before that, when asked if a package is installed, saying it *looks* like it because of some symptom is not a way to go.  Is the package actually installed?  What does `pacman -Qs ntfs-3g` return?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-07-17 12:31:01

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Wrong mount permissions in KDE: root has no access to mounted drive

Actually, without NTFS-3G you can read the filesystem, just not write to it as any user (not even root). So, I still suspect that the NTFS-3G driver is not installed.

Offline

#7 2013-07-17 12:50:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: Wrong mount permissions in KDE: root has no access to mounted drive

I also suspect that is the case - just the way it was stated baffled me.  "Access" seems imprecise - but whatever the regular user can do with that filesystem, the root user definitely should be able to also.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2013-07-17 14:09:37

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Wrong mount permissions in KDE: root has no access to mounted drive

True, I missed that.

Last edited by runical (2013-07-17 21:07:58)

Offline

#9 2013-07-18 10:10:25

myweb
Member
Registered: 2013-07-13
Posts: 69

Re: Wrong mount permissions in KDE: root has no access to mounted drive

Dear All,
I am terribly sorry: I had not installed NTFS-3G and also it was QEMU issue: can not access to file, not root related.

Offline

Board footer

Powered by FluxBB