Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue with file attributes

Featured Replies

A drive on my 1st unRAID box has started acting flakey, so I decided to replace it.  Of course, 300GB isn't always 300GB, so I couldn't just replace the drive.  Because the 1st unRAID is maxed out, I put the new drive into my 2nd unRAID. 

 

From unRAID #2, I did an smbmount to mount the flakey disk on  unRAID #1

   

smbmount //tower/disk6/ /var/tmp

 

And then copied the data:

   

cp -r /var/tmp/* /mnt/disk4/

 

A little under 24 hours later, the flakey drive is still up and all the data is copied; however, all the copied files are now hidden system files.  Is there any way to easily make them non-system, non-hidden (hopefully a recursive command line command)?  Actually, is there even a way to change this manually?  I'll try recopying if it's something that I messed up on my commands.

 

Try this:

 

  chmod  -R  0700  /var/tmp/*

 

(The leading 0 in '0700' is important.)

 

What you're seeing is a result of how Samba implements the Windows 'Hidden' and 'System' file attributes.  It does this by overloading the 'group' and 'other' 'x' permission bits.  Those bits are getting set in your cp command and via Samba make the files appear to be hidden system files  ::)

 

Gory details can be read here:

http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html

 

  • Author

Thanks, Tom.  Worked like a charm.  (I did it to disk4 though, since that was where I could see the problem).

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.