Ubuntu Multimedia :: Moving Sqlitedb To Shared Directory?
May 18, 2011
a lot of ubuntu apps seem to use sqlite3 to store the metadata. some noticable are firefox, shotwell and banshee.
can understand firefox keeping it separate but what if i want to share the music and photos between two users on the same machine.
i've set up a user group (call it "two") that has two users have set up a shared dir under /content/twousers set permissions chgrp & chmod & flicked the sgid bit so that everything is owned by the group.
can then run banshee (or shotwell for that matter) under the primary user (the group owner) and import data (music pictures et al).
try a second user on the same local machine and can see the directories and files - just cant see the metadata in the sqlite db.
any way to get these apps to look for their metadata in the shared directory - doesn't seem like sqlite has a distributed db node mechanism available.
is there any way of assigning a unix evironment variable to do some sort of "directory redirection" - for want of a better term - or an sqlite trigger in the db that connects to the common sqlite?
I installed the latest Gimp beta and it worked fine but then I couldn't open it. I removed it and I reinstalled but it didn't work, so I installed the latest stable version (no beta) and it still does not work, when I open it form Terminal, this is the response:gimp: error while loading shared libraries: libbabl-0.0.so.0: cannot open shared object file: No such file or directory
I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.
I am moving some websites from a shared host to a newly configured Xen based VPS with Ubuntu 10.04. A steep learning curve but I am getting there! I have a couple of sites installed on the new server and want to test them out, from what I understand I should be able to edit /etc/hosts on my desktop computer (running Ubuntu 10.04) which should automatically redirect my browser to the new server. But it doesn't seem to work.
This is what I appended to the /etc/hosts file: 12.34.56.78 www.xxxx.com
I thought that this should send any requests for www.xxxx.com to 12.34.56.78? Some googling indicated that the browsers I am using may be using DNS caching, ignoring the hosts file. I've tried clearing the cache with Chromium 7.0.517.44 (64615) and Firefox 3.6.12, and even installed a plugin in Firefox to block DNS caching.
Salutations,I've been struggling with getting audacious working for the past hour. I'm using synaptic to install it. When trying to run it from the bash, I'm getting the following error:
Code: audacious: error while loading shared libraries: libmowgli.so.1: cannot open shared object file: No such file or directory.I tried to make /usr/lib/libmowgli.so->libmowgli.so.1 link, but it didn't help. Tried reinstalling audacious/libmowgli and a few others packages, but in vain, too.
I upgrade the system from 11.1 to 11.2 seems everything work fine, no error no warning, after a reboot the consol show : mount error while loading shared libraries: libvolume_id.so.1: Cannot open shared object file: No such file or directory. when I try to repair the system the repair tool cannot find the root partion,
I am using Centos 5.2, and I installed all of the available gnome and gnome development libraries available via the "add software" menu item. Still, when running some programs, I get the following error message:
"error while loading shared libraries: libzvt.so.2: cannot open shared object file: No such file or directory"
If I understood it correctly, libzvt.so.2 is part of some gnome libs... where to find and how to install them?
I am trying to move my home directory from my install partition to a new partition. I cloned my installation from a previous ~78 gb HD using g4l to a new 250 GB drive. Now that I am using the new drive i created a new partition to used for files called "files". New partition is sda3 and the boot partition is sd1. I am trying to follow this guide [URL] but I am having no success.
The output of: Code: find . -depth -print0 | cpio --null --sparse -pvd /media/sda3 is
Code: pio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1381.tmp: Cannot open: Not a directory cpio: `/dev/sda3' exists but is not a directory cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1336.tmp: Cannot open: Not a directory cpio: `/dev/sda3' exists but is not a directory cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1387.tmp: Cannot open: Not a directory cpio: `/dev/sda3' exists but is not a directory .....
I have encountered the following error, taylor@ubuntu:~/Projects/Slicer4/Applications/CLI/Multiply/Data$ mkdir Baseline taylor@ubuntu:~/Projects/Slicer4/Applications/CLI/Multiply/Data$ svn mv ~/Projects/Slicer4/Testing/Data/Baseline/CLI/MultiplyTest.nrrd Baseline svn: 'Baseline' is not a working copy
I am simply trying to move a file (MultiplyTest.nrrd) into a new directory (Baseline) in order to make the program (Slicer4) more organized. I googled my error and found a few like it but they all involved installing SVN so none of the solutions apply to me. And I have tried deleting Baseline and remaking it.
I am using a touch command to setup a specific range of names, identifiers, etc. Now I am trying to move the files from a certain range to another directory I created. Sorry to post just can't remember how to do this but I know it is fairly simple for you guys. I have the output set as fred*_[!g].* and I am trying to get these files to my created directory.
So when I try to move the home directory to another point, the sound stops working magically. Well actually the sound still works, but the controls don't work. Here is what I am trying to do.
My home directory is currently at /home/user I want it in another independent partition so I copy all the contents from /home/user to /dev/sda5 and then I mount /dev/sda5 to /home/user with rw permissions. Everything works perfectly, even my mozilla profile is copied and such, but the sound somehow disappears. When I comment out the line from fstab that mounts the the filesystem at /home/user, naturally things go back to normal because my folder at /home/user that was earlier becomes my home again. Things are working again. I can go back and forth, doesn't help.
Here are the specs, though they are irrelevant as everything including the sound works as long as I don't try to change my home dir. I'm using a Thinkpad T410. The destination filesystem btw is ntfs for my home directory, I know it's not suggested and most of you here will feel like lecturing me on how i shouldn't be using ntfs, but the point is I want to have my "Desktop" "Documents" "Pictures" "Videos" "Downloads" and everything in the same place for both windows and linux. So if moving the home directory to NTFS is strongly unadvisable, let me know how to move each of these folders to a desirable location. Here's what lspci has to say about audio device.
Quote:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
works fine at moving all files anywhere below the current directory to the current directory.
My question is can it be modified so it only moves all the files up one directory layer? Otherwise I shall have to cd 100 or so times and run it in each directory i want to compress...
I imagine the directory below which the file is stored is in the % somewhere it is just a case of extracting it and applying it to the mv command, yes?
I am trying to setup 2 individual FTP users. They should both have access to the same directory. They both need to be able to read/write into the directory. But, I want them not to be able to write to each other's files (e.g. delete, remove, rename, etc.).
So let's say the shared directory is: /home/ftp/shared/
UserA needs read/write access to /home/ftp/shared/. UserA should only have write access to his own files. UserB also needs read/write access to /home/ftp/shared/. UserB should only have write access to his own files.
It would be a unix box of sorts, but that is the only restriction. I could use whatever software. I am currently thinking pure-ftpd or vsftp but I am open to all ideas.
How do I copy and/or move files to the base folder of a user? I don't know what is is called, so I do not know what to put in the my file "?" command? I know you would normally put mv filename /directoryname, but what is the base username called?
I need help writing a script that will copy everything from tape to system directory. I have a Linux box with 3 TB of Hardware space. I am using the following commands
1) mt /dev/st0 rewind
2) tar xvf /dev/st0
3) tar xvf /dev/st0 fsf 1 (Using this to move to the next segment of the tape) and then
This is a USB shared drive, with an ext3 partition. The partition is located at /dev/sdb1. I use Samba to share /media/tiga1000/samba/public, and everyone on the network can add/delete files to it. Specifically, this is our media drive, and we upload a lot of pictures to it, since me and my sister are amateur photographers. Under /public/images/camera_pictures/2010, I have 3 directories. 01_january, 02_february, and 03_march. The directory that has been corrupted is 03_march, and when I say corrupted, I mean that I cannot open it. It acts as a unknown file type that can't be opened.
Here is the file properties of it: Code: drsmall@mycroft:/media/tiga1000/samba/public/images/camera_pictures/2010$ ls -lah total 960K drwxr-xr-x 4 nobody nogroup 4.0K 2010-03-11 21:22 . drwxr-xr-x 5 nobody nogroup 4.0K 2010-02-18 20:19 .. drwxr-xr-x 14 nobody nogroup 4.0K 2010-01-31 11:57 01_january drwxr-xr-x 10 nobody nogroup 4.0K 2010-02-23 15:47 02_february -r--r--r-- 1 nobody nogroup 938K 2010-03-11 15:46 03_march
How I should go about recovering it. Somehow it lost it's directory switch. Should I unmount the drive and run fsck on it? I would like to be able to recover these images, if it is at least possible!
i have an A machine, which has an ftp server (fedora core 8) and is sharing a directory with a machine B (fedora core 8 too), which has no ftp server and nothing special on it.
When machine B try to access to shared directory,there is no problem and works perfect.But when i share a directory on machine B and try to access to it from machine A, it doesn't work. I know that something related with ftp server make sharing work for machine A, but why? or what is it? is there a program or service that i need besides of nfs and rpcbind-portmap?. I had used nfs to share directories and i used rhel 5 to test all this things and happens the same.
I just installed the 11.4 version after using numerous previous versions. During this install the /usr directory was placed in a separate partition. How would I go about placing it in the partition with all the other running directories?
I need to share some files from my Ubuntu 10.10 box to others on my home network so I created a shared folder, right-clicked it and chose "Sharing Options", chose "Share This Folder" and then I was told that additional software is needed to enable sharing. I agreed and software was downloaded and installed. But when I clicked "Create Share" button and told Nautilus to automatically add permissions for others to access my folder, I was slapped with an error message saying "Failed to execute child process "testparm" (no such file or directory). So how to proceed and get sharing working again? I installed Samba afterwards via Synaptic and assigned the folder for sharing, but I don't see the special "arrows-both-ways" sign for this folder.
I have ubuntu 9.04 on my Virtual Machine and my host OS is Win.XP, I've installed SSH on my linux and and now, I use PuTTY on Win.XP to connect to the SSH on linux,
Now, I have a problem: When I login with "root" and run any command, I see load errors for libraries such below:
Code: vim:
I've defined a user in ubuntu and when I login with it, I have no problem in running commands!
Also, when I use "su" command in the user's session and go to the root, I have no problem again in running commands! Is it related to my linux version or distro?
I have recently installed Fedora 12 on a desktop PC and as my first experience of Linux, I am really impressed. I have now installed several packages and have reached a point where I would like to share the PC with other user (family members in the same house).My question seems so basic I am almost embarrassed to ask it but could some one explain the best way to create a local shared directory that could be used to store files accessible to everyone (e.g. music, photos, videos, documents etc.)There will be three users and as it is a family PC, they will all have full access.
Reading posts from various forums, I am little confused about what is the best way to proceed (i.e. what is Linux best practice). The simpler of the two methods is to simply make the directory using the mkdir command, followed by the chmod command to assign full access rights. Fore example if the local shared directory is called 'share'. The alternative approach assigns a group, a group administrator etc and then adds users to the group.
//192.168.2.100/e:/video /mnt_win_video ntfs defaults 0 0 And when I try: mount -t cifs -o username=usr,password=secert //192.168.2.100/e:/video /mnt/mnt_win_video I get: mount error: can not change directory into mount target /mnt/mnt_win_video
If I want to share a directory called /home/me, would I go to my /etc/exports file and share /home/me/* or would I share /home/me ? I am unsure of how to type this into the file.
I'm running the turnkey linux version of joomla and I need to use PHP's mail functionality to send a notification email from a page (separate from joomla content) . PHP's native stuff is rather plain and I find myself needing the functionality of PEAR. So I've installed PEAR via aptitude, but it has installed to /usr/share/php.
how do I include these files from php scripts? Firstly, the files are owned by root, the www-data user doesn't have access. It also appears that the permissions on the files may need to be modified. Some php files don't have the execute flag (shouldn't they)? I recognize the point of having a centralized location for updates and sharing, so I don't want to just copy the files to my web directory (/var/www).
There is like one month since dig fails running after some upgrade. Platform: Ubuntu-Server 6.06.1 _Dapper Drake_ - Release amd64 Error: Code: dig: error while loading shared libraries: libdns.so.21: cannot open shared object file: No such file or directory.
In my samba configuration, I have a strange share. Share name: MyPrinter Shared folder: /var/spool/samba comment = lp read only = No print ok = Yes The spool directory /var/spool/samba has been shared as a printer. What will be the harm caused by it? (I don't know who shared such). And I also wanted to know the security issue due to it..
I would like to have a directory Code: /home/shared Where all human users have r/w permission for all files and sub-directories under this path. Can I achieve this buy just setting the permissions correctly or do I need to do something else?
Unfortunately I haven't been able to figure out yet how to share specific directories only, so I set up my Samba server to share users' home directories (which is not a security issue here since the only possible client is my other machine). My user's home directory contains a symlinked directory on another hard drive partition, which I had to explicitly share to be able to access it from the other machine. This setup has been working for months now, but for a reason that escapes me at the moment it stopped working today, presumably after samba got updated from 3.4.2-1.1.3.1 to 3.4.3-3.2.1.
The error message on the client (Windows XP/SP3) for this one above mentioned directory, and for this directory alone, is "Access denied"; I can access all other directories fine.