I'm trying to access my Windows files from Ubuntu, and so far I was able to create a script that mounts the folder I want and have it on the system startup. I am able to list, delete, move, create files, but I'm not able to open them with VLC I get the error:
Your input can't be opened:
VLC is unable to open the MRL 'file:///home/tiago/Windows/Videos/Filmes/x-subterranea-720p.mkv'. Check the log for details.
Can someone help me identify what I'm doing wrong?
This is my Bash script:
!/bin/bash
sudo -S -k mount -t ntfs-3g -o rw /dev/sda3 /root/win
sudo -S -k mount --bind /root/win/Users/Tiago/ /home/tiago/Windows
One of the files I can't open:
root@tiago-X510UR:/home/tiago/Windows/Videos/Filmes# ls -l ex-subterranea-720p.mkv
-rwxrwxrwx 2 root root 4693513161 set 23 2017 ex-subterranea-720p.mkv
ubuntu-restricted-extras
./root/win
or/home/tiago/Windows
or some subdirectory), so that VLC is not allowed to see the file. Please notice, that you should not run VLC with elevated permissions, so the file should be visible by the regular user ID (I guess it is 'tiago').