I have a folder containing lots of backup images. I want users to only see their own files. I've tried setting the permissions to
000 but they still can see the file using
ls (the backups belong to the user, set by
I tried symlinking (creating the symlink in their
/home/ directory and denied access to the backup folder), but it doesn't work. FTP sees the file as a folder and not as a file.
Hardlinking does work, but when a new backup is written, the
inode is changed and therefore breaking the hardlink.
Is there any other way I'm not thinking about?