Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am pretty mush a newb with Linux and I'm stuck on something. I have two computers. One runs unRaid NAS software which is built on Linux. The other is running XBMC media center which is built on Ubuntu. XBMC has a local folder (/home/kevin/.xbmc/userdata/Thumbnails/) that it stores thumbnails in. I am essentially trying to move this folder to my server, but XBMC needs to see it as local. I started by deleting the old Thumbnails folder and it's contents. I then created an empty Thumbnails folder on XBMC and I also created one on my unRaid comp (192.168.1.20/disk7/xbmc_thumbs/Thumbnails). On the XBMC comp I run:
chmod 777 Thumbnails
mount -t cifs //192.168.1.20/disk7/xbmc_thumbs/Thumbnails Thumbnails
It creates the mount and as long as I'm logged in as root, I can copy files to the XBMC Thumbnails folder and they appear on my unRaid server's Thumbnails folder. The problem is that if I log in as kevin (the user that XBMC runs as) I get permission denied errors. I've tried changing ownership of the XBMC Thumbnails folder to kevin via :
chown -v kevin Thumbnails
and it says it changed it, but if I check, the ownership and group both still show as root. I'm thinking that may be because now that the mount is made, it's showing the ownership of the Thumbnails folder on the unRaid server? Whatever it's doing I can't seem to change it and XBMC can't write it's thumbnails because of this.
Can anyone show me the light here. I'm dying to get this up and running.
OK. Whose username and password should that be? An XBMC username/password or an unRaid username/password?
Due to the unRaid being a NAS, all it's shares and stuff were setup "out of the box". I didn't have to set any of that up. The unRaid shares that are available across my network never require any usernames or passwords whenever I copy stuff to them from my Windows machines. The only username/password I'm aware of for it is root which I use once in a blue moon to log into the console.
In looking at that, I think there are some remnants of different attempts to get this working. I know the line where it says '192.168.1.20:/mnt/user/xbmc /mnt/xbmc' was a line someone had me add to fstab to try to do this whole thing a different way. I must have forgot to remove it. Here is the line they had me add to fstab:
kevin@XBMCLive:~/.xbmc/userdata$ sudo mount -t cifs -o file_mode=777,dir_mode=777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails Thumbnails
WARNING: 'file_mode' not expressed in octal.
WARNING: 'dir_mode' not expressed in octal.
kevin@XBMCLive:~/.xbmc/userdata$ ls -l
-rw-r--r-- 1 root root 296 2010-04-25 12:28 advancedsettings.xml
drwxr-xr-x 7 kevin kevin 4096 2010-04-25 18:19 bakThumbnails
drwxr-xr-x 3 kevin kevin 4096 2010-05-03 20:16 Database
-rw-r--r-- 1 kevin kevin 114527 2010-05-04 22:07 guisettings.xml
drwxr-xr-x 2 kevin kevin 4096 2010-01-23 22:43 keymaps
-rw-r--r-- 1 kevin kevin 83 2010-05-01 21:03 LastfmScrobbler.xml
-rw-r--r-- 1 kevin kevin 1573 2010-01-23 22:43 LCD.xml
-rw-r--r-- 1 kevin kevin 83 2010-05-01 21:03 LibrefmScrobbler.xml
drwxr-xr-x 5 kevin kevin 4096 2010-01-23 22:43 playlists
-rw-r--r-- 1 kevin kevin 309 2010-05-04 22:07 profiles.xml
-rw-r--r-- 1 kevin kevin 391 2010-01-23 22:43 RssFeeds.xml
-rw-r--r-- 1 root root 1339 2010-01-23 22:56 sources.xml
dr----x--t 1 root root 0 2010-05-05 21:41 Thumbnails
drwxr-xr-x 2 kevin kevin 4096 2010-03-10 14:20 visualisations