Hello,
I’m very happy using OSMC on my Rasperry Pi2, very easy to setup and use for most usual features.
I’m trying to change, using sudo chown, rights access from osmc:osmc to root:root for a folder located on a USB drive that OSMC mounted automatically
command returns no error but it remains with osmc:osmc rights (it works fine on other non-USB folder)
My drive is NTFS formatted, so I guess this is the issue but how could I change some parameter for automount (or whatever is managing USB auto mounting) to allow me to use chown for this USB drive?
osmc@framboise:/media/Tera II$ ls -al
total 93
drwxrwxrwx 1 osmc osmc 4096 Oct 28 09:22 $RECYCLE.BIN
drwxrwxrwx 1 osmc osmc 8192 Jan 30 08:17 .
drwxr-xr-x 8 root root 4096 Jan 30 07:16 …
-rw-rw-rw- 2 osmc osmc 56 Oct 28 09:21 .dropbox.device
drwxrwxrwx 1 osmc osmc 8192 Jan 27 19:08 AFAC
drwxrwxrwx 1 osmc osmc 4096 Jul 25 2013 Camescope
drwxrwxrwx 1 osmc osmc 28672 Mar 8 2015 Concerts
drwxrwxrwx 1 osmc osmc 4096 Jan 29 21:42 FTP
drwxrwxrwx 1 osmc osmc 4096 Jan 30 2015 Montages
drwxrwxrwx 1 osmc osmc 4096 Jan 23 14:45 PRO
drwxrwxrwx 1 osmc osmc 4096 Dec 9 19:35 System Volume Information
drwxrwxrwx 1 osmc osmc 20480 Dec 5 08:59 fOTOS
-rw-rw-rw- 1 osmc osmc 5 Jan 30 08:17 test.tst
osmc@framboise:/media/Tera II$ sudo chown root:root test.tst
osmc@framboise:/media/Tera II$ sudo chown root:root FTP
osmc@framboise:/media/Tera II$ ls -al
total 93
drwxrwxrwx 1 osmc osmc 4096 Oct 28 09:22 $RECYCLE.BIN
drwxrwxrwx 1 osmc osmc 8192 Jan 30 08:17 .
drwxr-xr-x 8 root root 4096 Jan 30 07:16 …
-rw-rw-rw- 2 osmc osmc 56 Oct 28 09:21 .dropbox.device
drwxrwxrwx 1 osmc osmc 8192 Jan 27 19:08 AFAC
drwxrwxrwx 1 osmc osmc 4096 Jul 25 2013 Camescope
drwxrwxrwx 1 osmc osmc 28672 Mar 8 2015 Concerts
drwxrwxrwx 1 osmc osmc 4096 Jan 29 21:42 FTP
drwxrwxrwx 1 osmc osmc 4096 Jan 30 2015 Montages
drwxrwxrwx 1 osmc osmc 4096 Jan 23 14:45 PRO
drwxrwxrwx 1 osmc osmc 4096 Dec 9 19:35 System Volume Information
drwxrwxrwx 1 osmc osmc 20480 Dec 5 08:59 fOTOS
-rw-rw-rw- 1 osmc osmc 5 Jan 30 08:17 test.tst
osmc@framboise:/media/Tera II$
Both on a file or a folder, same result
Using mount I have
/dev/sdb1 on /media/Tera II type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks)
This drive was formatted under Windows formally several years ago and if possible would like avoid reformatting it…
but if needed Ok, was would be the best command to format it safely as NTFS ? (I’d like to be able access it from Windows too)
thanks for any hint !!
Olivier