June 15, 201016 yr I need help trying to figure this one out. I am completely confused. Last night I wanted to create a mix of music using audacity. When I tried to add an MP3 the files appeared to be missing. My music is stored on the tower under a share called music with the following structure music\U2\JoshuaTree\*.mp3. The folders are still there but the files are missing. I thought this was pretty wierd. I opend Itunes and tried to play some music and it worked. Looked at the properties and sure enough its location is \\tower\music\u2\joshuatree\*.mp3. I then tried opening up windows explorer and same thing - files missing. But this is where it gets really interesting. If I right click on a folder (JoshuaTree) and go to properties I see 11 files, 53mb. This is true for all album folders. I then opened unmenu and went to file manager, browsed to an album location, and all the mp3's are there. So I can see the files in unmenu and itunes but thats it. Not in windows explorer or any other application browsing to the location. The last thing i tried was copying an mp3 from my desktop to the music share - I can see that one. I have no idea what is happening. Oh, one last thing, all of my other shares seem to be working fine. Folder structure and all files appear. I am running unraid 4.5.3 and unmenu 1.3. Any and all help would be much appreciated. thanks
June 15, 201016 yr Author Joe, I checked this and verified that I am showing hidden files and folders.
June 15, 201016 yr What are the file permissions? If they are executable they appear as system files. Did you try making the files 644 (in unix) Joe, I checked this and verified that I am showing hidden files and folders.
June 16, 201016 yr That's what's causing the problem...use 644 on the files....try it in one sub-directory first. Then you need to use the find command to only change the files to 644 but leave the directories 777 or 775 something like: find . -type f -exec chmod 644 {} \; I forgot the exact syntax. I used the chmod 777 command on the entire music directory. Still no luck.
June 17, 201016 yr Author Ok, I had a few minutes to try making the files 644 - and it worked. I still don't understand how that happened in the first place but I guess its irrelevant. At least it can be corrected. I just have to figure out the syntax to do all files but not directories. Thanks for everyones help.
June 17, 201016 yr Ok, I had a few minutes to try making the files 644 - and it worked. I still don't understand how that happened in the first place but I guess its irrelevant. At least it can be corrected. I just have to figure out the syntax to do all files but not directories. Thanks for everyones help. It was just posted for you: cd /mnt find . -type f -exec chmod 644 {} \;
June 17, 201016 yr Author Joe, Sorry, I should have been more clear in my last post. I couldn't get that to work. I just did a little research and had to make a couple of modifications. I changed directories to /mnt/disk1/music and then used the following find -type -f -exec chmod 644 '{}' \; I can now see all of my files in windows explorer again. Thanks to you and foo fighter!
June 17, 201016 yr The reason that worked is as follows: Here's a previous post that explains this: http://lime-technology.com/forum/index.php?topic=6609.msg64025#msg64025 (repeated here to generate warm-fuzzies) It is not a bug. It depends on how you configured SAMBA to map additional non-unix attributes, like the WinOS HIDDEN flag. Look into the SAMBA options of "map hidden", "map archive", and "map system" within the smb.conf man pages.
June 18, 201016 yr I need help trying to figure this one out. I am completely confused. What version of Windows are you using? You should not have to change any file permissions, or change the way 'hidden/system/archive' is mapped.
Archived
This topic is now archived and is closed to further replies.