how can i unhide hidden files


Recommended Posts

I haven't used a pch, but I would be a bit concerned if it is changing the file attributes of anything on the network and would start by fixing that problem.

 

There's some info in this post about what is happening with Samba and Windows file attributes.  You could check one of the affected iso's by executing

ls -l /mnt/user/share/path/to/isofiles/*.iso

from the command line on your unRaid box.

for example

ls -l /mnt/user/Movies/*.iso

might give you something like

-rwx------ 1 root root 13213880172 Aug 22  2010 15Minutes.iso*
-rwx-----x 1 root root 17397927788 Jul 29  2010 2012.iso*
-rwx------ 1 root root  2195218432 Oct 19  2008 A\ Clockwork\ Orange.iso*

In that example 15Minutes and A Clockwork Orange would be un-hidden and 2012 would be hidden from a Windows machine's perspective.  2012 would be hidden because the world execute (that last x) is set.

 

Before executing anything similar to what I've put below make sure that this is what is happening!

 

The easiest way to remove this from all iso's in your array would be to execute

find /mnt/user/ -name \*.iso -type f -exec chmod 700 {} \+

from a prompt on your unRaid box.

 

To unhide all isos in your your movies share you could execute

find /mnt/user/Movies -name \*.iso -type f -exec chmod 700 {} \+

 

If you have any questions or need help with syntax post back and I (or someone else) can help you out.  Like I said earlier though, I would be more concerned if the PCH is changing files than this and would address that pronto.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.