My problem miraculously fixed itself when I ran the script - it said
that LMS was already running and then it was. I think the problem was
caused by Ubuntu Desktop being too much for my old Core 2 duo to handle,
and I was running a lot of other services. Suffice to say, I had another
problem with permissions - LMS couldn't access my second drive
containing my media - and in trying to fix them I managed to completely
screw up the server by locking myself out! (Not for the first time!
Linux is unforgiving haha!)

I have now reinstalled the machine with Ubuntu Server to be a more lean
headless solution. I am using a combination of SSH (terminal) and Gnome
Core + VNC Server (GUI) to access it from my laptop over LAN. I am now
installing LMS on the machine. Latterly I plan to setup MusicIP headless
and Plex Media Server byt I want to get LMS working properly first.

I am having a problem that I previously mentioned in another thread. I
am unable to access my second disk where my media is stored from within
the LMS settings. They do not show up. This is obviously an ownership
issue. The disk is accessible from both VNC and SSH, but I am obviously
accessing it through my account in this case. LMS is presumably using
its own account which does not have permission to access the disk.

The music folder is currently located at:
/media/omstedall/mediadrive/music

'omstedall is the name of my account. 'mediadrive' is the name of the
second disk.

I have tried to chown the Music folder to the LMS account using: sudo
chown -R squeezeboxserver /media/omstedall/mediadisk/Music

This didn't work - presumably because the parent folder is still owned
by my account. I am pretty new to permissions in Linux, and am wary of
using trial and error since messing around with chown is what caused my
to hose my machine yesterday! 

Does anyone know how how to get this working? Is there a way to add LMS
as a second user, without affecting the permissions of my personal
account?

Here is the feedback from LS -l for the various folders in case it
proves useful:

omstedall@ubuntu-server:/media$ ls -l
total 8
lrwxrwxrwx  1 root root    7 Nov  1 12:18 floppy -> floppy0
drwxr-xr-x  2 root root 4096 Nov  1 12:18 floppy0
drwxr-x---+ 3 root root 4096 Nov  1 15:08 omstedall

omstedall@ubuntu-server:/media/omstedall$ ls -l
total 4
drwxrwxrwx 6 116 cdrom 4096 Sep 16 23:18 mediadisk
omstedall@ubuntu-server:/media/omstedall$  

omstedall@ubuntu-server:/media/omstedall/mediadisk$ ls -l
total 56
drwxrwxrwx    2              116 root      16384 Sep  2 18:27
lost+found
drwxrwxr-x    2              116 omstedall  4096 Oct 30 12:58 Movies
drwxrwxrwx 1012 squeezeboxserver omstedall 36864 Sep 26 04:55 Music


------------------------------------------------------------------------
saltedlolly's Profile: http://forums.slimdevices.com/member.php?userid=46484
View this thread: http://forums.slimdevices.com/showthread.php?t=96892

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to