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.
22
questions
19
votes
2
answers
17k
views
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 ...
26
votes
4
answers
55k
views
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 ...
12
votes
3
answers
12k
views
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 ...
22
votes
3
answers
26k
views
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 ...
5
votes
2
answers
8k
views
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....
6
votes
1
answer
4k
views
Automatic mounting in /run/media instead of /media
When I (manually) mount my crypted document partition on ubuntu 19/04, it is mounted on /media. When I'm in Fedora, it's mounted on /run/media.
I would like udisks2 to mount it on /run/media, as it ...
4
votes
2
answers
673
views
How to set default options for mounted file systems?
I would like all FAT volumes to be mounted with the option uni_xlate enabled.
How can I configure mount or udisks2 to use that option while mounting the volume?
3
votes
2
answers
483
views
Can I power down an external drive automatically when it unmounts?
I know this question is answered a lot, but I couldn't find a answer that make this happen automatically. What I would like is when I unmount the last partition of the the external HDD (as it may have ...
1
vote
1
answer
6k
views
Unable to mount: exit code 1
I am trying to mount some of my hard drive and USB but getting this error
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdd1 on /media/sdd1
how ...
18
votes
3
answers
34k
views
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 ...
13
votes
6
answers
46k
views
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 ...
8
votes
3
answers
4k
views
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=...
8
votes
2
answers
6k
views
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 ...
6
votes
1
answer
4k
views
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 ...
5
votes
2
answers
11k
views
Can udisks be removed from 14.04 and replaced with the functionality of disk utility from 12.04?
I'm currently testing 14.04 and while there are many things I like about it, the udisks bugs are upsetting. I'm currently running 12.04 on all production systems due to these problems which if I'm not ...
4
votes
2
answers
3k
views
udisks2 (udisksd) errors in syslog: how to investigate?
my system logs of my Ubuntu 18.04 Intel NUC are getting spammed by these error messages:
udisksd[1369]: udisks_mount_get_mount_path: assertion 'mount->type == UDISKS_MOUNT_TYPE_FILESYSTEM' failed
...
3
votes
1
answer
1k
views
Ubuntu-MATE: make USB Sticks automount available to every user (udev rules?)
I want every USB media (ext, ntfs, FAT…) inserted to be available with full read-writable to every user. Preferably under mnt and as group common.
( Ubuntu-MATE 21.04, though my issues actually date ...
3
votes
2
answers
236
views
unable to mount external drive from cron (using udisksctl)
GOAL
I'd like to mount an external drive using cron for automatic backups, preferably with udisksctl.
PROBLEM
udisksctl mount -b /dev/sdXY works fine from the command line or shell script, but when I ...
2
votes
1
answer
884
views
cannot start nemo if udisks2 is disabled
I use Ubuntu 18.04.2 LTS with cinnamon as desktop and my default file browser is nemo.
I don't like that any partition of an external disk that I connect to my machine (e.g. via USB) is automatically ...
2
votes
1
answer
845
views
What does this hard drive authentication after login in LXDE mean?
I am using LXDE on Ubuntu 16.04. When I wake it up from suspension, I login in, and then another authentication window appears. What does that mean? Is it necessary? If not, how can I get rid of the ...
1
vote
2
answers
2k
views
Is it valid to copy a line from /etc/mtab (the line was added automatically) to /etc/fstab
I'm having the problem described here. But in my case the drive in question is already mounted, yet the link to something on that drive is broken. I never mounted the drive manually, yet it's mounted. ...
0
votes
1
answer
214
views
Can't automount two partitions at login
I'm using Ubuntu 12.04.
I wanted two of my NTFS partitions automounted on startup, so I followed the instructions on Ubuntu documentation (https://help.ubuntu.com/community/...