LinuxMCE Forums
May 22, 2013, 10:02:50 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Where do you copy public media files to?  (Read 627 times)
freymann
Douchebag
Guru
*
Posts: 380


View Profile
« on: March 07, 2008, 06:55:49 pm »

My external USB 500GB drive has failed, but after tearing it out of the case and connecting it directly via IDE on a barebones box, and booting with Puppy Linux, I'm able to 'mount' the drive in read-only mode and see all my media that I thought we had just lost. I'm able to either FTP this data out or use a Samba Share client.

My question is, where do I copy the music, photos, and movies on the LinuxMCE core? and what username should I use.

Anybody?
Logged
freymann
Douchebag
Guru
*
Posts: 380


View Profile
« Reply #1 on: March 07, 2008, 07:10:25 pm »

I originally logged into the core using the linuxmce username and password and started to copy up some music and then got an out of disk space error message! ug!

So I deleted all that stuff (it wasn't much) and disconnected, and reconnected using my admin page username and password.

Now I think I have the correct paths and I'm trying to reupload some mp3's into the public audio folder. Must be doing better as it hasn't quit with an out of disk space error message. Neat.
Logged
royw
Guru
****
Posts: 261


View Profile
« Reply #2 on: March 07, 2008, 08:32:36 pm »

Sounds like you found the answer.
Code:
/home/public/data
/home/user_1/data
/home/user_2/data
...
extra (2nd or more hard drives) or external drives (NFS, CIFS, samba) are at:
Code:
/mnt/device/NN/public/data
/mnt/device/NN/user_1/data
...
where NN is the device id.  These are auto mount devices so the device id may not show up initially.  If you list  one of the data sub-directories you can see the device IDs.

Example:
Code:
linuxmce@dcerouter:~$ ls /mnt/device
36
linuxmce@dcerouter:~$ ls /home/public/data/videos/
Internal HDD-CORE (sdb1) [34]  NFS Media 1 [36]  tv_shows_0  tv_shows_1  tv_shows_42
linuxmce@dcerouter:~$ ls /mnt/device/34
lost+found  public  user_1  user_2
linuxmce@dcerouter:~$ ls /mnt/device
34  36

Ownership should be root:public
Code:
linuxmce@dcerouter:~$ ls -l /home/public/data/videos/Internal\ HDD-CORE\ \(sdb1\)\ \[34\]/Science\ Fiction/The\ Matrix.*
-rwxrwxr-x 1 root public 8393392128 2008-01-08 19:33 /home/public/data/videos/Internal HDD-CORE (sdb1) [34]/Science Fiction/The Matrix.dvd
-rw-r--r-- 1 root public      18432 2008-02-19 02:41 /home/public/data/videos/Internal HDD-CORE (sdb1) [34]/Science Fiction/The Matrix.dvd.id3
That's why you need to sudo to copy the media.

Have fun,
Roy
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!