Ubuntu Multimedia :: MPD Not Reading Directories
May 26, 2011
I'm trying to setup ncmpcpp correctly and I'm running into an issue with mpd not reading my directories correctly. I dual boot ubuntu/w7 on this computer, and for the sake of laziness I just keep all of my music within the default windows folder ( since half my music was there first ). Now I have a symlink within my home directory's music folder that points to this, however according to mpd it isn't a director.
View 2 Replies
ADVERTISEMENT
Sep 1, 2010
My Fedora box is giving me an SELinux security error:
Code: Summary:
SELinux is preventing the samba daemon from reading users' home directories.
Detailed Description:
SELinux has denied the samba daemon access to users' home directories. Someone
is attempting to access your home directories via your samba daemon. If you only
setup samba to share non-home directories, this probably signals an intrusion
attempt. For more information on SELinux integration with samba, look at the
samba_selinux man page. (man samba_selinux)
Allowing Access: If you want samba to share home directories you need to turn on the
samba_enable_home_dirs boolean: "setsebool -P samba_enable_home_dirs=1"
Fix Command:
setsebool -P samba_enable_home_dirs=1
Additional Information:
Source Context system_u:system_r:smbd_t:s0
Target Context unconfined_u:object_r:user_home_dir_t:s0
Target Objects /home/micah [ dir ]
Source smbd
[code]....
View 2 Replies
View Related
May 20, 2010
i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...
[Code].....
View 9 Replies
View Related
May 4, 2011
I don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server):
perfVar.zsh :
#!/bin/zsh -f
MYVAR=`cat $1`
for i in {1..10}
[code]...
Performance test result:
> time ./perfVar.zsh BigTextFile > /dev/null
./perfVar.zsh FE > /dev/null 6.86s user 0.32s system 100% cpu 7.177 total
> time ./perfCat.zsh BigTextFile > /dev/null
./perfCat.zsh FE > /dev/null 0.01s user 0.10s system 91% cpu 0.118 total
I would have thought that accessing a VARIABLE was way faster than reading a FILE on the file system... Why this result ?Is there a way to optimize the perfCat.zsh script by reducing the number of accesses to the file system ?
View 3 Replies
View Related
Jan 30, 2010
I upgraded my system from 8.04 all the way to 9.10.Right now I'm trying to play a DVD (Pink Floyd Pulse) and Totem Player just crashes on me. I followed the medibuntu rep installation process found here:Code:http://shibuvarkala.blogspot.com/2009/10/how-to-make-ubnutu-10-karmic-koala.htmlThe reps were updated, packages downloaded and installed, but Totem still crashes. I took a look at /var/log/messages and when I ask Totem to read the DVD, it outputs this line:Code:Jan 30 12:46:17 localhost kernel: [ 5576.977430] totem[3556segfault at 1880 ip 00007f6cfa8fb081 sp 00007f6ce48b1ac0 error 4 inlibpthread2.10.1.so[7f6cfa8f2000+17000]I don't understand why libpthread would cause any problem here
View 4 Replies
View Related
May 2, 2015
I have a server set up with Samba. On the desktop side I use KDE. I can clearly track intensive smbd activity, being the first on the iotop results page. Another thing is that after reading from the server's HDD, it seems to write on the desktop's SSD. It does this intermittently.I really want to know how can I stop this. It's very annoying and I bet I don't need it since, using previous versions of Debian, I could go well without this activity.
View 2 Replies
View Related
Nov 23, 2010
I'm trying to update the drivers to NVIDIA-Linux-x86-260.19.21.run (GeForce GT 220) but ran into several problems. I'm currently running Ubuntu 10.04. when running sudo sh NVIDIA-Linux-x86-260.19.21.run /var/log/nvidia-installer.log gives the following errors:
-> Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for
Linux-x86 (260.19.21) is complete.
-> Searching for conflicting X files:
ERROR: Unable to open '/usr/lib/xorg/modules/libglx.so' for reading (No such file or directory)
[code]....
View 2 Replies
View Related
May 26, 2010
I've been using a headless ubuntu machine for a few months now to torrent stuff and serve it up to my PS3 using MiniDLNA.
Everything was working fine until this morning when i decided the list of stuff in ~/Movies/Torrents was too long. I opened up the directory on my Mac (shared over the network using avahi and netatalk so my Mac thinks it's another Mac) and made some folders for shows in there. I moved the files into them and turned on my PS3. It was a bloodbath, only one of the new folders is seen by the PS3. It still sees folders that were created by transmission.
I changed the permissions to 777 for everything (had to to move folders around) and I also gave the new folders to my transmission user and group lest that was the problem (it wasn't).
Below is a screenshot of $ls -l ~/Movies/Torrents I have marked the ones that show up on the PS3. Only 'Lost' was made today out of the ones it sees. [url]
It's Ubuntu 9.10.
View 1 Replies
View Related
Nov 2, 2010
I have a collection of music videos of various ages, and want to consolidate the codecs into mp4 files with the following criteria:
1) Retain the same directory structure and same name, hopefully with something like "/music/Videos (Encoded)/" and "/music/Videos (Failed Encoding)/" (Note: Using UTF-8 filenames)
2) Prefer to do this all in one batch; terminal commands/ bash script = awesome
3) Keep the highest quality video without having to encode everything the same (some widescreen, some hd, some with super low resolution)
4) Retain the audio stream untouched (plus, some help on what command to do to convert it to a good format) and, hopefully, to encode with settings that allow for universal apple playback (Handbrake as a great preset for this)
View 2 Replies
View Related
Mar 13, 2011
'm looking for a quick command-line script or command to subdivide directories into alphabetical indexes:
/parent/aardvark/food
/parent/aardvark/etc
/parent/asteroid/help
/parent/asteroid/welcomeoverlords
[code].....
I have found lots of scripts to merge them all back, but can't seem to nail down one that subdivides.
View 6 Replies
View Related
Dec 19, 2009
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies
View Related
May 15, 2011
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
View 2 Replies
View Related
Jun 14, 2010
I've got a few large, unsorted folders where I dump mp3s. I manage it all through rhythmbox and I've decided to separate the wheat from the chaff by paring down stuff I don't want and throwing all the desirable stuff into a big (~1,800 file) playlist file saved to my desktop.My question to you is, is there a hack that'll let me cp all the file entries in this playlist from their various original directories and into one target directory? Playlist format is:
Quote:
[playlist]
X-GNOME-Title=Biglist
NumberOfEntries=1823[code].....
View 3 Replies
View Related
Mar 23, 2011
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
View 7 Replies
View Related
Jan 20, 2010
Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.
So far I have created:
chroot_list
user_list
[code]....
View 1 Replies
View Related
Oct 26, 2010
just installed Xubuntu on 2 computers and they're both not picking up my jump drives or my card readers, or anything usb...
View 1 Replies
View Related
Jan 2, 2011
I have over 200 old .doc files that I cannot read properly with oo. Some of the files just give e one line of what looks like formatting info and the rest of the files show the text but in the middle of garbage and not formatted. If I use a winXP machine and get the MSWord add-on from MS it will read these. I do not like to use Win machines and also I need a batch method for the conversion, either to odf or docx format.
View 7 Replies
View Related
Jan 3, 2011
I installed grub2 into a usb flash drive, the system loads grub fine, but then dumps me to the grub> prompt.The only way i can get the system to continue on is to type inCode:configfile /boot/grub/grub.cfgdoes anyone know how to get grub to auto-load the grub.cfg file?
View 2 Replies
View Related
Jan 28, 2011
I recently set up a server in my house using Apache 2 running off Ubuntu 10.10 Netbook edition (no, the computer is a desktop). I tried running the website on a few computers in house and all the images and scripts seem to load fine but it is unable to read from the data.xml file through javascript. This leaves all of the web pages empty because all of the content is parsed from the xml file through javascript. I tried debugging with google chrome and after running this code to load the xml file:
if (window.XMLHttpRequest) {
// For IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
}
[Code].....
the xmlhttp.responseXML is null and the script crashes. Could this be a permission issue? I tried setting the data.xml file to read-write permission for any user but that didn't work.
View 1 Replies
View Related
Mar 29, 2011
hard drive I already pretty old and sometimes there `input / output error` when copying ... It is normal that when referring to hard drive system hangs for a while?
View 1 Replies
View Related
Jun 27, 2011
i would like to burn an image to a dvd but the image file is in .mdf format like that of many images created in alcohol 120%. what do i need to do in windows to burn such an image or be able to read the file?
View 2 Replies
View Related
May 1, 2010
I have a machine that is dual booted with win vista. It has 3 HD's. I created the partitions for the non-bootable drives in windows, ages ago. Prior versions of ubuntu would detect the drives, when I clicked on them in nautilus, I was prompted for my password, then the drives were mounted for the rest of the session. any idea how to mount these drives properly? The documentation linked to above describes ext3 and fat32 file systems (I tried both)
View 7 Replies
View Related
May 9, 2010
I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers. [URL] It's a straithfoward proces so I dont understand what I did wrong. I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04 Also the partition is mounted at /home, so I dont know if that makes any difference.
View 1 Replies
View Related
May 16, 2010
Running 10.04 64bit. Installed the latest Gnucash from repositories. Using Quicken 2003 and exported an account to a qif file. When trying to import to Gnucash the error "A bug was detected while reading the QIF file." displays. This, at least is more than I was able to do previously (prior to 10.04 and several earlier versions of Gnucash running in 8.04 through 9.10). Before it would cause Gnucash to crash and shutdown. I select a specific account with categories from Quicken to export. I can import to KMymoney and use it but that program is not compatible with the wife and does not do reconciliation reports by default.
View 3 Replies
View Related
May 28, 2010
I can't get digikam to work at all on 10.04, it never pass from reading my pictures folder, usually stops in any folder and crashes after sometime.
Here's what shows at the terminal:
Quote:
Warning: Exif IFD NikonPreview not encoded
Warning: Exif tag Exif.NikonPreview.JPEGInterchangeFormatLength not encoded
Warning: Exif IFD NikonPreview not encoded
Warning: Exif tag Exif.NikonPreview.JPEGInterchangeFormatLength not encoded
Warning: Exif IFD NikonPreview not encoded
<unknown>: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
KCrash: Application 'digikam' crashing...
sock_file=/home/fernando/.kde/socket-fernando-desktop/kdeinit4__0
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
[1]+ Stopped digikam
fernando@fernando-desktop:~$
The warning lines are repeated over and over again, so I just pasted the last ones. I've searched this forums and google about it but found no one with the exact similar issue. Can anyone help me out? Digikam always worked fine for my on my older installations. If I cancel the database reading, digikam will work as it should but obviously without all the photos on my folder.
View 1 Replies
View Related
Sep 11, 2010
I'm running badblocks on some new disk drives just to be safe before my return period expires. I'm running the command
Code: sudo badblocks -b 4096 -p 4 -c 65536 -w -s /dev/sdb1 on an empty partition taking up the entire device. I am getting the following output:
[Code]...
1) When it gets to the "reading and comparing" phase, it seems to complete in <1s. I see other posts where people say this takes them as long as it took to write to the drive. I don't see any mention of this being quick, so I'm just afraid that badblocks is being denied read access or something.. Anyone familiar with this behaviour?
2) Obviously since it is on a sixth pass, badblocks thought that it found new bad blocks on the second pass (or later). When I check SMART, though, the drive has not re-allocated anything (despite having plenty of spares)... Doesn't this seem odd? Is there some reason why the disk would not step in upon a write fail? In fact, I thought a write fail should be transparent... Which makes me wonder if question 1 (above) is causing this...
View 1 Replies
View Related
Nov 23, 2010
I put ubuntu 10.10 on my computer it was great i then the driver finder told me that I could make my computer 3d so i downloaded the driver now my computer will not read my hardrive and will not boot.
if you know how to fix this
and i have tried to put ubuntu back on with a live cd but it says error
View 3 Replies
View Related
Dec 26, 2010
Just got a new iPod Touch, but unfortunately Rhythmbox isn't reading it. The iPod shows up on the desktop, so I know it's reading it, but it shows up as a camera, which I assume is the problem. Is there a way I can force rhythmbox to read it?I'm using ubuntu 10.04, by the way.
View 9 Replies
View Related
Mar 15, 2011
I've got a memory stick with encrypting software. How can I read (and write) this encrypted partition with my ubuntu 10.10? I'm sorry but i don't know what's the manufacture of this stick. I only know it looks like this (Of course no M$ -logo)There are sotfware named UFDutility.exe. Opening this I can read secured informations in Windows but in Ubuntu it only say: �The device is not plug-in�.
View 2 Replies
View Related
May 12, 2011
At the end of install I encountered a problem dealing with the disc reading too fast. Have any of you heard of or seen this before? Afterwards it wouldn't let me close it out of the install so I just did a hard shut down of my computer. What can I do to fix this?
View 1 Replies
View Related