Why does amcheck fail while amdump succeeds?: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
ll /usr/local/libexec/runtar | ll /usr/local/libexec/runtar | ||
-rwsr-x--- 1 root disk 13K Oct 28 11:59 /usr/local/libexec/runtar | -rwsr-x--- 1 root disk 13K Oct 28 11:59 /usr/local/libexec/runtar | ||
'amcheck' does not use that wrapper, so it does not get root-permissions, | 'amcheck' does not use that wrapper, so it does not get root-permissions, | ||
which means that you may get errors with 'amcheck' while 'amdump' runs through without problems. | which means that you may get errors with 'amcheck' while 'amdump' runs through without problems. |
Revision as of 09:11, 15 November 2005
If you use GNUtar as backup-binary, 'amdump' uses a wrapper called runtar which is set suid root at install-time:
ll /usr/local/libexec/runtar
-rwsr-x--- 1 root disk 13K Oct 28 11:59 /usr/local/libexec/runtar
'amcheck' does not use that wrapper, so it does not get root-permissions, which means that you may get errors with 'amcheck' while 'amdump' runs through without problems.