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.

File Permissions - I don't know how i buggered this up, but i did!

Featured Replies

Ok, so i tried playing a file from /mnt/disk2 in vlc and it said it couldn't open, i'd used an external HD that for some reason seems to mess up file permissions sometimes, so i logged in via ssh and typed cd /mnt/disk2/ then chmod -R 0777 TV a few seconds later and all the files dissapeared.. i had to untick "hide protected operating system files" for them to show.. not sure what i did wrong, or what i need to do to put it right again, any ideas.

It related to the mapping from UNIX permissions to Windows permissions. You initiated the hidden and protected bits. You should use something like the following instead:

 

find /mnt/disk# -type d -exec chmod 0777 {} \;
find /mnt/disk# -type f -exec chmod 0666 {} \;

 

NOTE: There should be a WIKI entry on this if there isn't already as it always comes up and no one seems to search the forums.

 

Here's a previous post that explains this: http://lime-technology.com/forum/index.php?topic=5500.msg51222#msg51222 (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.

 

sam.0507.gif

  • Author

Lol, sorry i didn't search, but i had no idea really what to even search for.  Also i didn't configure samba to do anything, its just the default installation, thanks for your help BRiT, its most appreciated

In the current version of samba, both "map hidden" and "map system" default to "Yes".

You can easily change that by adding the following two lines to the global section of your smb-extra.conf

    map hidden = No
    map system = No

 

If smb-extra.conf doesn't exist in the config folder of your flash disk, create it!

The easiest is to just telnet to your server and type in the following two lines:

echo 'map hidden = No' >> /boot/config/smb-extra.conf
echo 'map system = No' >> /boot/config/smb-extra.conf

 

  • Author

Thanks purko, i ssh-ed in, copied and pasted those 2 lines, then went into unmenu and clicked stop then start samba and they appear to be showing up properly now :)

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.