Language Selection

English French German Italian Portuguese Spanish

Howto: Mounting without sudo

Filed under
HowTos

This had been bothering for some time. On a system without an automounting “solution,” which I don’t usually like because they involve daemons and message subsystems and whatnot, mounting an external drive such as a USB key can be problematic. Mounting requires sudo, but sudo inflicts root ownership on the target, which makes it inaccessible to a non-root user, short of using sudo over and over again.

Here’s what I mean. Let’s suppose I have a USB key at /dev/sda1 that I want to mount to a folder called /media/usbdisk. First I make the folder.

sudo mkdir /media/usbdisk

Simple enough. Now mount /dev/sda1 to that folder.

sudo mount /dev/sda1 /media/usbdisk

Also pretty simple. But look at who owns the folder. ls -lha gives …

Full Story.

More in Tux Machines

Why Android's Winning The Battle Right Now

Without a doubt, the key technological revolution of our time has been the rise of mobile computing. With iOS and Android leading the charge, the way people communicate has been transformed. Of course the most significant competition in the space is the one between the two dominant mobile platforms: Google and Apple. Together, they make up the lion’s share of the mobile market. The fierce competition between the two has been the driving force behind the incredible pace of development and innovation the market has seen. Read more

Linux Kernel Source Code of BQ Aquaris E4.5 Ubuntu Edition Published on GitHub

Some of you might be aware of the fact that about a week ago, on March 18, Carsten Munk, Chief Research Engineer at Jolla, published an interesting article on his blog, where he claimed that BQ is not offering a GPL license for the Linux kernel that powers the BQ Aquaris E4.5 Ubuntu Edition device. Read more

Google makes deploying software on its cloud a trivial task

Google is offering a new incentive for using its Google Compute Engine. With Google Cloud Launcher, you can launch more than 120 popular open-source packages. Read more

Linux Kernel 3.19.3 Arrives with ARM, ARM64, and IPv6 Fixes, Many Updated Drivers

Greg Kroah-Hartman has announced today, March 26, the immediate availability for download of the third maintenance releases for Linux 3.19 kernel, along with Linux kernels 3.14.37 LTS and 3.10.37 LTS. Additionally, Linux kernel 3.18.10 LTS has also been announced a couple days ago. Read more