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.

108 questions
25
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,071
  • 2
  • 14
  • 31
22
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
  • 20,414
  • 30
  • 103
  • 166
19
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
  • 745
  • 2
  • 9
  • 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
  • 1
  • 4
  • 12
17
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
  • 497
  • 1
  • 6
  • 20
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
  • 14,548
  • 28
  • 104
  • 178
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,447
  • 20
  • 55
  • 87
13
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,473
  • 27
  • 93
  • 149
11
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
  • 141
  • 1
  • 1
  • 3
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
  • 97,162
  • 34
  • 239
  • 423
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
  • 942
  • 4
  • 10
  • 21
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
  • 1
  • 5
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…
farhad0011
  • 231
  • 1
  • 3
  • 6
6
votes
2 answers

How to make the disk utility ask for password before making modifications?

Currently, I can right click any drive that is attached to the system and click format. No password is asked at all while the data is wiped. I can also format any drive from the disk utility. This brings back scary memories of Windows -- how can…
nerdy_kid
  • 985
  • 7
  • 12
6
votes
1 answer

How can I change the mount point path while using udisks?

How I can mount my disk with udisks to /media/$USER/%disk_title% instead of to /media/%disk_title%? When I try this: udisks --mount /dev/sda1 It mounts to /media/%disk_title%, but in GUI (file manager left-side panel), it mounts to…
unclechu
  • 251
  • 2
  • 6
1
2 3 4 5 6 7 8