Are symbolic links counted in group or user quotas?

Latest response

Hi,
I want to enforce quotas for my users so that when I backup their home directories, they don't eat up all of my backup server's storage capacity. What will happen for the symbolic links that they might have within their home directories? Will they be followed and counted for by quota management?

Thanks,

Yves

Responses

Depending on what tool you are using to backup, you might need to specify copying symlinks as symlinks. If using rsync for example, there's a -l option 'copy smylinks as symlinks'. -l, --links. When symlinks are encountered, recreate the symlink on the destination.

Hi Sam, Thanks for your response. I am using bacula, and it does not follow symbolic links, so that means that I'm covered on that side. So If I've understood correctly, if I set up user quotas, as long as the symbolic links point to a different user-owned directory, it will not be counted for, right?

Symbolic links in user home directories will be backed up like any other file regardless of where they are pointing to.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.