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.

How can I change file attributes

Featured Replies

I just noticed that I have a couple mp3 albums on my unRaid music server that show all the files as hidden in Vista.  I tried to change them through Vista, but unchecking "hidden" doesn't stick.  I presume I need to change the attributes in Linux, but I'm not sure how.  Can someone tell me how to change them?  Also, can it be done through Midnight Commande or only through the command line?

I don't know if this will help since I expect you know more about this stuff than I do.  I had an issue where files I was uploading via FTP needed to have their permissions changed or I was not able to see them (the directory looked empty when browsing via XP or Vista.)

 

I installed the following script to run via cron every hour and my problem was solved.  Of course if this would work for you you'll have to edit it for your needs:

 

/boot/custom/bin/prod_permissions.sh

 

#!/bin/bash
#
# Title: *_permissions.sh
#
# Summary:
# The purpose of this script is modify directory and file permissions for files
# uploaded to the server via FTP (or other) so that they are accessible
#
# Modify monitor File & directory so that permissions allow listing the directory 
# contents via FTP or other.
find /mnt/disk2/monitor -type d -exec chmod g+rx,o+rx {} \;
find /mnt/disk2/monitor -type f -exec chmod 644 {} \;

 

And then in my GO script:

 

/boot/config/go

 

#!/bin/bash

# Install Cron Jobs
cd /boot
chmod +x custom/bin/prod_permissions.sh
cp custom/bin/prod_permissions.sh /etc/cron.hourly/

 

 

  • Author

Thanks for your help jarodtufts.  I was creating the script file you posted but I kept thinking that it's odd how none of my other files were showing as hidden.  Even the files I've been copying over for the past few weeks are all fine.  When I finally stopped and asked myself what was unique about them compared to the rest of my files I finally figured it out.  The files were all mp3's by the same band (38 Special) and I noticed that the files all contained a period in front of the 38 (ex: .38 Special).  I didn't know for sure that this was a problem for Linux, but when I removed the leading period, the files all showed fine.  I guess files that start with a dot mean something in Linux.  Anyway the problem is solved. 

 

 

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.