More > JRiver Media Center 23 for Linux

Shared drive locked to home user

<< < (2/3) > >>

mwillems:
Looks like We got caught up in case sensitivity, my fault.  Try "ls -la /home/mitchell/Media" instead

hillcreative:
Result:

--- Code: ---ls -la /home/mitchell/Media
total 12
drwxr-xr-x  2 root     root     8192 Sep 12 17:13 .
drwxr-xr-x 22 mitchell mitchell 4096 Sep 28 22:35 ..
drwxr-xr-x  2 root     root        0 Apr 24 06:44 Alternative
drwxr-xr-x  2 root     root        0 Jan 23  2017 Art Work
drwxr-xr-x  2 root     root        0 Apr 23 17:59 Blues
drwxr-xr-x  2 root     root        0 Apr 23 17:59 Blues Fixed
drwxr-xr-x  2 root     root        0 Apr 23 17:59 Blues Rejects
drwxr-xr-x  2 root     root        0 Apr 23 17:59 Blues work
drwxr-xr-x  2 root     root        0 Jan 16  2017 Chris Music
drwxr-xr-x  2 root     root        0 Jun  2 12:35 FileHistory
drwxr-xr-x  2 root     root        0 Apr 23 18:10 Grand Touring Radio
drwxr-xr-x  2 root     root        0 Apr 23 18:10 MFRAudio
drwxr-xr-x  2 root     root        0 Apr 23 19:42 MFRMusic
drwxr-xr-x  2 root     root        0 Apr 24 00:28 MikesMusic
drwxr-xr-x  2 root     root        0 Jul 11 18:58 MP3 Master Music
drwxr-xr-x  2 root     root        0 Mar  4  2017 Music Beds
drwxr-xr-x  2 root     root        0 Apr 24 01:43 MusicRips
drwxr-xr-x  2 root     root        0 Aug 20 16:22 MUSIC RIPS
drwxr-xr-x  2 root     root        0 Apr 24 00:52 Music Updates
drwxr-xr-x  2 root     root        0 Apr 24 01:05 Music Work - Alternative
drwxr-xr-x  2 root     root        0 Jan 16  2017 Radio Meltdown
drwxr-xr-x  2 root     root        0 Jan 16  2017 $RECYCLE.BIN
drwxr-xr-x  2 root     root        0 Apr 24 01:45 Road Tunes
drwxr-xr-x  2 root     root        0 Apr 24 01:45 Road Tunes work
drwxr-xr-x  2 root     root        0 Apr 24 03:11 Rommel Backup
drwxr-xr-x  2 root     root        0 Apr 24 04:22 Rommel Radio
drwxr-xr-x  2 root     root        0 Mar  7  2017 SFX
drwxr-xr-x  2 root     root        0 Aug 15 18:09 Short Bus Imaging
drwxr-xr-x  2 root     root        0 Apr 24 06:43 SneakerRadio
drwxr-xr-x  2 root     root        0 Jun 13 20:03 Soul work
drwxr-xr-x  2 root     root        0 Jan 19  2017 System Volume Information
drwxr-xr-x  2 root     root        0 Jul 22 19:37 TM Gold
drwxr-xr-x  2 root     root        0 Sep 28 17:07 WAV Music Master

--- End code ---

The directory with the music files is the last one:  WAV Music Master

mwillems:
Ok, part of the problem is that your directory /home/mitchell/Media appears to be owned by root as well as all the files and folders inside.  Is the username in your credentials file "mitchell"?  If not that's almost certainly the issue. 

To work around try adding uid=mitchell to your fstab entry.  If that doesn't work after a reboot, please post the output of "ls -la /home/mitchell/Media" again after the reboot.

hillcreative:

--- Quote from: mwillems on September 29, 2017, 10:29:48 am ---Ok, part of the problem is that your directory /home/mitchell/Media appears to be owned by root as well as all the files and folders inside.  Is the username in your credentials file "mitchell"?  If not that's almost certainly the issue. 

To work around try adding uid=mitchell to your fstab entry.  If that doesn't work after a reboot, please post the output of "ls -la /home/mitchell/Media" again after the reboot.

--- End quote ---
Is this the correct way to add uid=mitchell to the fstab file?

--- Code: ---# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=83293930-f264-430b-ac5a-234f3cb54621 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
//hillwrk/f /home/mitchell/Media cifs noauto,x-systemd.automount,credentials=/home/mitchell/samba-credentials  0  0
/uid=mitchell

--- End code ---

mwillems:

--- Quote from: hillcreative on September 29, 2017, 01:17:05 pm --- Is this the correct way to add uid=mitchell to the fstab file?

--- Code: ---# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=83293930-f264-430b-ac5a-234f3cb54621 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
//hillwrk/f /home/mitchell/Media cifs noauto,x-systemd.automount,credentials=/home/mitchell/samba-credentials  0  0
/uid=mitchell

--- End code ---

--- End quote ---

I meant to add it to the list of cmma separated options.  So more like

--- Code: ---//hillwrk/f /home/mitchell/Media cifs noauto,x-systemd.automount,uid=mitchell,credentials=/home/mitchell/samba-credentials  0  0

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version