Questions tagged [udisks]

Udisks is a service that automatically mounts media when it is connected to the computer. The udisks daemon queries devices via the standard d-bus interface present in all freedesktop.org Desktop Environments. Udisks can also be used manually on the command-line to mount and dismount media.

117 questions
26
votes
4 answers

USB drive auto-mounted by user but gets write permissions for root only

I am trying to use my ext4 USB drive but Ubuntu 13 is currently mounting it with write permission only for root so with my normal user I can't write to it, without sudo. The first place I checked was dconf-editor which has the following…
Adam
  • 1,149
24
votes
3 answers

Why are the default permissions for /media/username root:root?

I have tweaked the permissions on /media/username from root:root to username:root [1]. I understand that a user-centric location allows user-centric permissions [2]. But why were the permissions for this folder root:root in the first place? [1] So…
lofidevops
  • 21,912
20
votes
2 answers

Prevent a specific USB device from auto-mounting

I want to stop a USB device from automounting in Ubuntu 13.04. For example, when I connect my iPhone 5 to my desktop I am consistently prompted for what I want to do (whether or not I want to erase the "iPod" connected to my machine, etc). Since I…
Mark D
  • 775
19
votes
3 answers

How to mount drive in /media/userName/ like nautilus does using udisks

Update: Ubuntu 16.04+ includes a utility called disks; search it in dash. It's a GUI for mounting/handling disks. I'm using this tool for mounting or hiding drives. In my current installation of Ubuntu 13.10 Unity, when I click on a drive in…
Abdul Rehman
  • 515
  • 1
  • 6
  • 20
17
votes
3 answers

Disk Utility: What's the difference between "Unmount" and "Safe Removal"?

System > Administration > Disk Utility What's the difference between "Unmount Volume" and "Safe Removal"? Say you insert a flash drive and open the Disk Utility UI, if you click on "Safe Removal" you receive an "Error Detaching Drive" notification,…
trench
  • 508
15
votes
3 answers

5.25" floppies won't mount

I have received some research that is on 5. 25" floppies. My mobo supports 5. 25" disks, and, I have the disk drive. I am not trying to use this media long term, I just want the research data. Update: I just found out the file-system is some…
j0h
  • 15,365
14
votes
6 answers

Encrypted disk won't unlock anymore: Not authorized to perform operation (udisks-error-quark, 4)

In 2012 I used Ubuntu's gnome-disks utility to encrypt an external drive. Last year I was still being able to unlock it. But today I tried again on Ubuntu 2012.04 and gnome-disks says: Error unlocking encrypted device Not authorized to perform…
Nicolas Raoul
  • 11,921
13
votes
2 answers

Why udisks is not in the system

In Ubuntu manual regarding AutomaticallyMountPartitions is described that Nautilus is using udisks to mount partitions. But when I type udisks in terminal system tells that I need to install it. So, do Nautilus really uses udisks? "When you mount a…
vico
  • 4,717
  • 23
  • 66
  • 89
12
votes
3 answers

Is setting default mount options for udisks really not possible?

I want to mount usb drives with option flush (or sync). I'm using Kubuntu 10.10 and as far as I understood udisks is responsible for the mount options. I've read various threads and two solutions are proposed: edit fstab for every usb drive,…
Somebody
  • 151
11
votes
4 answers

Strange LED blinking problem with USB flash drives - is it just me?

Introduction I'm using Ubuntu MATE 16.04.5 LTS with latest 4.4 Linux kernel on several machines (laptops and desktops with USB 2.0 and USB 3.0). For me it seems that something was changed inside USB driver internals of the kernel (or maybe udisks).…
N0rbert
  • 103,263
9
votes
2 answers

How to manage udisk with the udisk utilities?

I'm trying to install the udisks utility. The problem is that it says that I have already the newest version of udisks installed on my computer: sudo apt-get install udisks2 Reading package lists... Done Building dependency tree Reading…
misha
  • 1,002
8
votes
2 answers

Set mount options for removable devices on Kubuntu

I share my computer in a multiseat configuration and would like everyone to mount removable devices with a umask of 0 (ie. readable and writeable by all and sundry). Well, ideally just by group disks or plugdev or something, but global will do in a…
skomorokh
  • 101
8
votes
3 answers

Nautilus uses different permissions for mounted drives

I've written two bash scripts to give read-only or read/write access to my NTFS partition: read-only access: sudo umount /media/Data_Drive/ sudo mount -t ntfs-3g -o ro,user,auto,nls=utf8,umask=0000,uid=1000 /dev/sda2 /media/Data_Drive read/write…
fredzyx
  • 231
6
votes
1 answer

Basic usage of udisks

I'm on Ubuntu Mate 16.04. I would like someone to give me a short introduction to the basic usage of the udisks utility on Linux systems. Specifically, I would like to know how to properly mount and unmount an external USB drive.
misha
  • 1,002
6
votes
2 answers

udev rules to allow only one vendor and model USB drive but no others

So, we're working to set up an environment here where we have a secure storage setup on our Linux laptops, such that our Linux laptops can only connect a specific USB drive: a Kingston DataTraveler 2.0. Vendor:Model code is this (from lsusb): Bus…
Thomas Ward
  • 78,878
1
2 3 4 5 6 7 8