I have a computer with dual boot and three hard disks: one for openSUSE (ext4), one for Windows 7 (ntfs) and one for backup (ext4).
Before an upgrade from 42.1 to 42.2 I had access to all three disks which were mounted on /run/media/berredo (my user name). To access the disks windows and backup (was ntfs then) I used Dolphin and was asked for the root password. After typing the root password I could also use shell scripts in my user terminal with sudo (these scripts are in my bin directory).
After the upgrade the openSUSE and backup disks are mounted like before and I have access to them the same way as before, but the windows disk is now mounted on /run/media/root. The only way I figure out to run my backup script is:
- creating a link of /run/media/root/windows in /run/media/berredo;
- starting the root terminal
- change to my bin directory (/home/berredo/bin)
- and executing the script: ./my_script
I am curious about this difficulty to access a directory whose permissions are:
boblin:/run/media/root # ls -l
total 8
drwxrwxrwx 1 root root 8192 May 25 16:14 windows
I should have succeeded accessing the windows disk (or not?..).
The output of fdisk -l is:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00011111
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1953525167 1953523120 931.5G 83 Linux
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E14551A5-767A-4056-9348-845FD2B9FE0B
Device Start End Sectors Size Type
/dev/sdc1 2048 16383 14336 7M BIOS boot
/dev/sdc2 16384 4225023 4208640 2G Microsoft basic data
/dev/sdc3 4225024 1953523711 1949298688 929.5G Microsoft basic data
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x477cc937
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 1953521663 1953314816 931.4G 7 HPFS/NTFS/exFAT
With the df -h command I can only see the windows disk using the root terminal:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 208K 7.8G 1% /dev/shm
tmpfs 7.8G 2.6M 7.8G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sdc3 915G 462G 453G 51% /
tmpfs 1.6G 0 1.6G 0% /run/user/481
tmpfs 1.6G 12K 1.6G 1% /run/user/1000
/dev/sda1 917G 564G 308G 65% /run/media/berredo/backup
/dev/sdb2 932G 260G 672G 28% /run/media/root/windows
Is there a way to change the mount directory and configure the access to the windows disk as before? (editing fstab?)
Thanks for Your help!