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

Discourse

Discourse is an open-source project, hosted at GitHub (see Resources), licensed under the GNU General Public License, version 2. It is backed by Atwood's company, which has the fantastic name of Civilized Discourse Construction Kit, Inc., and it aims to profit through installing and supporting Discourse. Read more

EXT4 In Linux 3.18 Has Clean-ups, Bug Fixes

With Linux 3.18-rc1 having came one week early, the EXT4 file-system pull request didn't end up landing until today. However, the EXT4 changes aren't overly exciting for the 3.18 merge window. The EXT4 changes for the Linux 3.18 kernel merge window come down to mostly just code clean-ups and bug fixes along with some minor journal optimizations. Read more

Free and Open Source Electronic Signature in Costa Rica

The LibreOffice component designed by the University of Costa Rica (UCR) is similar to similar software enhancements currently used for electronic signatures in other countries. Read more

Rejuvenate your Fedora desktop with Moka

Moka started as a single Linux desktop icon theme, but over time it has gradually evolved into an entire project & brand identity that provides quality designs to people. Moka is about personalization and its goal is to provide an assortment of style options to allow you to customize your experience. Read more