Why does QNap keep changing file attributes to hidden?

Windows Access Rights Management
Post Reply
solosier
Starting out
Posts: 11
Joined: Tue Oct 06, 2009 10:25 am

Why does QNap keep changing file attributes to hidden?

Post by solosier » Tue Oct 06, 2009 10:30 am

I created a new share. Created a user that full access. I put all my web development files over there. But my .htaccess files keep getting set as "Hidden"

My developement program doesnt show hidden files.

Yes, I have "Show hidden" enable in windows explorer, but I dont want to access them in windows.

Every time i right click on the file and uncheck "hidden" it get's reset back to hidden. This is so stupid.

I have all the services (web, ftp, media turned off except windows sharing)

jm45
Easy as a breeze
Posts: 411
Joined: Tue Oct 07, 2008 6:30 pm

Re: Why does QNap keep changing file attributes to hidden?

Post by jm45 » Tue Oct 06, 2009 7:27 pm

AFAIK, there is no "hidden" flag/tag in Linux.
just a . (dot) at the beginning of the file, as a convention to "hide" the file.
not so stupid
TS-109 II firmware version: 3.1.0 Build 0708T (1TB disk)

skochxxl
Starting out
Posts: 15
Joined: Tue Sep 01, 2009 3:07 pm

Re: Why does QNap keep changing file attributes to hidden?

Post by skochxxl » Fri Oct 09, 2009 2:05 pm

I'm having the same issue. I copied lot of files via ssh from my windows pc to the nas and now all the files are shown as hidden files in the windows explorer. And with windows I'm not able to set the uncheck the hidden flag again!!!

skochxxl
Starting out
Posts: 15
Joined: Tue Sep 01, 2009 3:07 pm

Re: Why does QNap keep changing file attributes to hidden?

Post by skochxxl » Fri Oct 09, 2009 3:04 pm

Just found the post with a solution: http://forum.qnap.com/viewtopic.php?f=35&t=19317&start=0&hilit=hidden+files

Edit /etc/smb.conf:

Code: Select all

map hidde = no


and than restart samba:

Code: Select all

/etc/init.d/smb.sh restart


that's it!

Post Reply

Return to “Windows”