Files/Folders Copied - Forced Hidden Attribute

Backup, Restore, Netbak Replicator, Cloud Storage Services
Locked
gwen4
Starting out
Posts: 26
Joined: Tue Jun 13, 2017 7:42 am

Files/Folders Copied - Forced Hidden Attribute

Post by gwen4 »

Running QTS 4.3.5.0728

Whenever we back up a folder or file with a name beginning with a dot, e.g. ".thx" ".jback", that folder or file is saved on the QNAP with hidden attribute set.

Nothing we do can override that "hidden" attribute. We've tried attrib command and changing attributes in File Explorer.


Is this a feature or a bug? What can we do to get back to normal behavior, i.e. file attributes remain as they are?
User avatar
OneCD
Guru
Posts: 12144
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Files/Folders Copied - Forced Hidden Attribute

Post by OneCD »

In Linux, filenames beginning with a dot ‘.’ are considered to be hidden. This IS normal behaviour. ;)

Hidden status is not determined by setting an attribute, as you would in DOS/Windows.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
gwen4
Starting out
Posts: 26
Joined: Tue Jun 13, 2017 7:42 am

Re: Files/Folders Copied - Forced Hidden Attribute

Post by gwen4 »

What can we do since when restoring the files we might miss those files/folders?
User avatar
OneCD
Guru
Posts: 12144
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Files/Folders Copied - Forced Hidden Attribute

Post by OneCD »

If you’re accessing your files from a Linux system, ensure you view all files (including hidden files).

If you’re accessing them from a Windows system, they won’t be hidden.

What is your specific use-case?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
gwen4
Starting out
Posts: 26
Joined: Tue Jun 13, 2017 7:42 am

Re: Files/Folders Copied - Forced Hidden Attribute

Post by gwen4 »

We have a Windows environment, and those files/folders are hidden.
User avatar
OneCD
Guru
Posts: 12144
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Files/Folders Copied - Forced Hidden Attribute

Post by OneCD »

Are you using SMB shares?

If those files show as hidden in Windows, then I suspect the Samba config in your NAS will require tweaking. I’m not the person for that.

Can anyone else help here please? ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
gwen4
Starting out
Posts: 26
Joined: Tue Jun 13, 2017 7:42 am

Re: Files/Folders Copied - Forced Hidden Attribute

Post by gwen4 »

Would need help. The files do not show up in File Station.

QNAP SHOULD MAKE THIS INTO AN OPTION: UNHIDE "DOT" FILES !!!
User avatar
OneCD
Guru
Posts: 12144
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Files/Folders Copied - Forced Hidden Attribute

Post by OneCD »

gwen4 wrote:Would need help. The files do not show up in File Station.
As QTS File Station is running on Linux, it already has an option to show hidden files.

Click the 3 vertical dots near the top-right of File Station, then click 'Settings' from the drop-down box, then check the box for 'Show hidden files on NAS'.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
gwen4
Starting out
Posts: 26
Joined: Tue Jun 13, 2017 7:42 am

Re: Files/Folders Copied - Forced Hidden Attribute

Post by gwen4 »

That worked (although we are a little uncomfortable that other system files are shown!)

Thank you very much!
apennismightier
Starting out
Posts: 19
Joined: Sat Mar 31, 2018 1:05 pm

Re: Files/Folders Copied - Forced Hidden Attribute

Post by apennismightier »

OneCD wrote: Thu Oct 25, 2018 8:19 pm
gwen4 wrote:Would need help. The files do not show up in File Station.
As QTS File Station is running on Linux, it already has an option to show hidden files.

Click the 3 vertical dots near the top-right of File Station, then click 'Settings' from the drop-down box, then check the box for 'Show hidden files on NAS'.
This still won't show the .qpkg directory.
User avatar
OneCD
Guru
Posts: 12144
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Files/Folders Copied - Forced Hidden Attribute

Post by OneCD »

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Locked

Return to “Backup & Restore”