When I turn on my computer (Debian 8.7) and try to access my USB drive from the command line I get an access error:$ cd /media/oli/Elements/bash: cd: /media/oli/Elements/: Permission deniedHowever, if I then open it in Thunar 1.6.3 then I have no problems. Further more once I have opened it in Thunar then I can access it from the command line with no problem. Until I restart the computer and the problem happens again.This would not be that much of a problem but I want to wake-on-lan this computer but when I do this I can't access the USB drive. Can anyone help me so that I can either a) automatically can access the USB drive from the command line from boot or b) tell me how I can make the drive accessable on boot from the command line?NOTE: I can change the permissions from root but when I do this I can access the drive but none of the files are visiable.EDIT:Thanks for your reply Bahamut! Sorry but I don't think I completely understand what your asking. I turned on the computer and then used the commands that you asked for:oli@oc-debian:~$ env | grep -i sessionXDG_SESSION_ID=1XDG_SESSION_COOKIE=1f852804979b444a8f786bb3348594ce-1503567280.751815-1257158155DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-lgssBsszr4,guid=b9feb624737d6987df4c1255599e9db0oli@oc-debian:~$ getfacl /media/$USERgetfacl: Removing leading '/' from absolute path names# file: media/oli# owner: root# group: rootuser::rwxuser:oli:r-xgroup::---mask::rwxother::rwxAlso I probably should have mentioned that I'm using #!++ (https://www.crunchbangplusplus.org/)
Debian Jessie can't automount usb drive without Thunar
linux;debian;mount;automounting;crunchbang