Cannot access USB disk with CLI??
Posted: 30 Sep 2014, 13:48
I have this NTFS USB disk that I use for backup (our backup script). I use Zsh not bash but I am not sure if that matters.
On the 22nd of September the backup stopped running.
And it turns out it is a permission problem.
I can access the USB disk with Thunar or PCmanFM so it is there and it is accessible in GUI but not in CLI.

In the CLI I cannot cd into it but it is mounted as /dev/sdb1
So I do suspect some panic bash updates since this occurred at that time - but it could be something else too.
Ho do I get permission to access via the CLI again - it is supposed to be more powerful than GUI - here it is the other way around
It looks like something/program is exclusively opening LaCie (the USB disk) and keeping my shell out.
On the 22nd of September the backup stopped running.
And it turns out it is a permission problem.
Code: Select all
media/ LC_ALL=C cd LaCie
cd: permission denied: LaCie
I can access the USB disk with Thunar or PCmanFM so it is there and it is accessible in GUI but not in CLI.

In the CLI I cannot cd into it but it is mounted as /dev/sdb1
Code: Select all
df
Filsystem Størrelse Brukt Tilgj. Bruk% Montert på
/dev/sdb2 30G 381M 30G 2% /run/media/viking/LA-PUBLIC
/dev/sdb1 1,8T 1,6T 284G 85% /run/media/viking/LaCie
So I do suspect some panic bash updates since this occurred at that time - but it could be something else too.
Ho do I get permission to access via the CLI again - it is supposed to be more powerful than GUI - here it is the other way around
It looks like something/program is exclusively opening LaCie (the USB disk) and keeping my shell out.