git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6296
91ce42f0-d328-0410-95d8-
f526ca767f89
}
#endif
#if defined(MTSETDRVBUFFER)
- if (getpid() == 0) { /* Only root can do this */
+ if (getuid() == 0) { /* Only root can do this */
mt_com.mt_op = MTSETDRVBUFFER;
mt_com.mt_count = MT_ST_CLEARBOOLEANS;
if (!dev->has_cap(CAP_TWOEOF)) {
Technical notes on version 2.3
General:
+17Jan08
+ebl Fix a bug during tape initialization with MTSETDRVBUFFER.
12Jan08
kes Fix Win32 build with new .def files and DLL_IMP_EXP ...
10Jan08