You are not logged in.
Pages: 1
Topic closed
Is it possible to make the linux filesystem to see hidden folders in a NTFS partition as hidden folders? I mean, right now, all hidden folders in my NTFS mounted partition show up in the filesystem but I would like for them to be hidden, just like they had a dot before the name.
Is this possible somehow? To make the linux filesystem to hide folders which are defined as "hidden folders" in the NTFS partition?
Offline
Is it possible to make the linux filesystem to see hidden folders in a NTFS partition as hidden folders? I mean, right now, all hidden folders in my NTFS mounted partition show up in the filesystem but I would like for them to be hidden, just like they had a dot before the name.
Is this possible somehow? To make the linux filesystem to hide folders which are defined as "hidden folders" in the NTFS partition?
put a dot before them or put your porn somewhere noone would expect it (inside a system directory)
ntfs-3g doesn't seem to have an option to hide 'hidden' files
☃ Snowman ☃
Offline
Why do you want to hide them? if you really want to hide files on ntfs, but still want to be able to read them from linux you can use a cross platform encryption like truecrypt.
Last edited by rwd (2009-03-27 13:40:08)
Offline
No, I want them hidden in both places but I don't want to rename thing.
I want them hidden because I'm sharing some files within the network and some folders, I just want them hidden. It's to hide them from someone discovering them, it's just to hide them in the filesystem cause I don't want to see them all the time when I navigate to that folder.
Offline
Here's someone who couldn't see hidden files, posted their fstab, and someone else posted their fstab with which they could see hidden files: http://ubuntuforums.org/showthread.php?p=1440315
You could probably use that to help
Offline
so would the "gid=46" option be the thing hiding them? I cant test where I'm at now...
but this always bothered me too...its not that I want them "hidden" to hide them from people - its just annoying seeing a million folders that dont matter haha.
Offline
I don't think so, at least on my machine, there's no group with id '46'...
Offline
I suppose I left that ambiguous
It appears that the person who CANT see the hidden files on the ntfs drives has that "gid=46" option in their fstab.
the posted fstab that DOES show the hidden files DOES NOT have that "gid=46" option.
so if you want to hide the "hidden" files, try adding that option. For example, just do a mount something like:
mkdir /media/test
/dev/sda1 /media/test ntfs-3g silent,umask=007,gid=46,locale=es_ES.utf8,no_def_opts,allow_other 0 0
and then see if it accomplishes what you were hoping for!
Offline
Didn't work for me...
Offline
interesting...after some more googling / reading i wouldnt expect it to either haha
Currently, ntfs-3g has no real interest in adding support to hide windows "flagged" files as hidden and provide that consistency. Older versions of ntfs-3g hide them all, but then you apparently cant view any. Adding dots to hide it in Linux obviously screws the pooch if you would try to launch windows again. Consider this, it seems like you have 2 potential solutions.
1. browse your drive using WINE's explorer (not a good solution)
or
2. build a .hidden file and put it in your folders that you regularly visit (not pretty or perfect either, but workable)
Grabbed from another forum:
I feel where you're coming from with this. Maybe it helps to know that there is a second way to hide files and folders in linux. You can place a textfile called ".hidden" in a directory and in it you can list files and folders you want to hide. So if you place a file called ".hidden" in the root of an ntfs partition that lists on separate lines 'System Volume Information' and 'RECYCLER', then at least those directories won't show up in Nautilus.
You could add more files or folders to the list, like your Windows directory, or even list individual system files. Toggling the hidden view (CTRL-H) will show both the listed files and the ".hidden" file again. Of course this will add one more non-hidden 'dot' file when you're in Windows... Hope this partial solution satisfies you.
Last edited by thisperishedmin (2009-03-30 11:46:12)
Offline
Look at the mount options for ntfs and you will find hide_hid_files and hide_dot_files. Set either or both of those in your /etc/fstab file
Offline
This thread is twelve years old and the OP has not been here since 2012. Please do not necrobump.
Closing.
Offline
Pages: 1
Topic closed