Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a share in Linux. I mount that share in Windows by assigning a letter for eg: X:

in that X: I have music and movies folder. Both have admin rights on the owner and group

in Windows. In TwonkyMedia, I can see the files of movies folder, but cannot see the files of music folder.

Files in both the directories have admin owner and group rights.

What can be wrong?

share|improve this question

migrated from Nov 13 '09 at 12:30

This question came from our site for professional and enthusiast programmers.

Do the permissions also match? – Bobby Nov 13 '09 at 12:36
Cannot see them... do you get an error or nothing appears? Maybe the music folder was actually a symlink. – John T Nov 13 '09 at 14:46

You'll want to look at the ownership and permissions of both folders in the share UNDER LINUX to see what they look like.

Try this, and let us know what is reported:

$ cd wherever-the-share-is
$ ls -ld movies music 
...if this exists for your version of Linux:
$ getfacl movies music

This will help with diagnosing your problem.

Thanks! -pbr

share|improve this answer

On the Linux box, change into the music directory and run "chmod -R 777 *" or something similar depending on your distro. This assumes you're on a secure home network or otherwise don't care about file security. If that gets the Windows box to see the files, you can always roll back the chmod level later.

share|improve this answer
Recursive chmod is almost NEVER a good idea - here's why: you almost never want the same permissions on both FILES and DIRECTORIES. -R doesn't account for this. chmod 777 is likewise almost never a good idea; you're setting the executable bit on a random bunch of files. Yuck. ALSO - there's no "rollback" - once you chmod, you can't undo - you have to know what you want as permissions for every single file and directory which you've affected. One more reason -R is a bad thing. – pbr Nov 24 '09 at 2:18
I seriously doubt someone wanting to mount music and movies on a Windows box cares, which is why I said "secure home network or otherwise don't care." I also doubt he has or wants his files to have different permission levels - by rollback I mean to 755 and more restrictive, not "historical" rollback. – SeanFromIT Dec 2 '09 at 15:51

You must log in to answer this question.