The problem could be in corrupted FTS index. See the bug report.
The solution is to remove the index - this shouldn't affect your overall history of activities.
zeitgeist-daemon --quit
rm -rvf ~/.local/share/zeitgeist/fts.index/
zeitgeist-daemon --replace
(Based on Michal Hruby's solution from the linked bug report.)
In the options column add permissions
and auto
(and probably user
or users
)
nls=iso8859-1,permissions,users,auto
permissions
: (NTFS-3G option) Set standard permissions on created files and use standard access control.
auto
: Will be mounted at boot and from mount -a
user
: Allow an ordinary user to mount the filesystem
users
: Allow every user to mount and unmount the filesystem
Then change ownership of the filesystem:
sudo chown -R thomas:thomas /media/data
My line in /etc/fstab
/dev/sda5 /media/ntfs ntfs-3g users,permissions,auto 0 0
Mount and list permissions
sudo mount /media/ntfs
Using default user mapping
bodhi@ufbt:~$ ls -l /media
drwxr-xr-x 1 root root 4096 2012-01-04 17:08 ntfs
Change ownership and list new permissions
bodhi@ufbt:~$ sudo chown bodhi:bodhi /media/ntfs
bodhi@ufbt:~$ ls -l /media
drwxr-xr-x 1 bodhi bodhi 4096 2012-01-04 17:10 ntfs
By default, ntfs-3g mounts the partition noexec, nosuid, and nodev.
noexec
: Do not allow direct execution of any binaries on the mounted filesystem.
nosuid
: Do not allow set-user-identifier or set-group-identifier bits to take effect.
nodev
: Do not interpret character or block special devices on the file system.
To override this and allow executing files, use exec
/dev/sda5 /media/ntfs ntfs-3g exec,permissions,auto 0 0
Now we get
bodhi@ufbt:~$ ls -l /media/ntfs
-rwx------ 1 bodhi bodhi 28 2012-01-04 17:16 file
bodhi@ufbt:~$ /media/ntfs/file
It works
Best Answer
Dash is using the index database created by
locate
. To makelocate
to index and show file on an NTFS partition, you should edit the file/etc/updatedb.conf
, and change the lineto
This works if your NTFS partition is mounted on a mountpoint under
/media
(highly probable).To update immediately the
locate
database, run