Author Topic: how can i unhide hidden files  (Read 1493 times)

Offline spl147

  • Full Member
  • ***
  • Posts: 118
how can i unhide hidden files
« on: March 10, 2011, 02:19:51 PM »
all my .iso files on my shares are hidden in windows....is there a way to mass unhide them? ie: remove the H attribute
My Setup:
Norco RPC-2212
Seasonic 80+GOLD 2u PSU
WD30EURS Parity drive
WD10EVDS cache drive
8x WD30EURS data drives
Intel S1200BTS MB
I3 2100T CPU
4 gb OWC ecc DDR3
M1015 (reflashed to a LSI SAS9211-8i) P13 FW.

Offline dyrewolfe

  • Member
  • **
  • Posts: 99
Re: how can i unhide hidden files
« Reply #1 on: March 10, 2011, 02:35:33 PM »
attrib -h [/S] *.iso should do it. Did you set the hidden attribute in Windows?

Offline spl147

  • Full Member
  • ***
  • Posts: 118
Re: how can i unhide hidden files
« Reply #2 on: March 10, 2011, 03:00:37 PM »
no it was done when my popcorn hour scans the share for nmj
My Setup:
Norco RPC-2212
Seasonic 80+GOLD 2u PSU
WD30EURS Parity drive
WD10EVDS cache drive
8x WD30EURS data drives
Intel S1200BTS MB
I3 2100T CPU
4 gb OWC ecc DDR3
M1015 (reflashed to a LSI SAS9211-8i) P13 FW.

Offline Spectrum

  • Full Member
  • ***
  • Posts: 236
Re: how can i unhide hidden files
« Reply #3 on: March 10, 2011, 05:08:10 PM »
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
Code: [Select]
-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.

Offline dgaschk

  • Hero Member
  • *****
  • Posts: 7983
Re: how can i unhide hidden files
« Reply #4 on: March 10, 2011, 05:18:40 PM »
Include your VERSION and SYSTEM LOG Unofficial Documentation  Check Disk Filesystems Console Commands

Revert to stock system:Stock go file:
1. Rename the /boot(flash)/config/plugins directory.
2. Rename the /boot(flash)/plugins directory.
3. Rename boot(flash)/extra/.
4. Use the stock go file (boot(flash)/config/go).
#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp&
#The following line is not stock; but it makes safemode work with go file additions.
if grep -wq unraidsafemode /proc/cmdline ; then exit ; fi
#Additional go file modifications below this line.