Amanda-Users

Re: Permission problems with amlabel.

2005-01-23 05:23:43
Subject: Re: Permission problems with amlabel.
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: "Erik P. Olsen" <erik AT epo DOT dk>
Date: Sun, 23 Jan 2005 11:11:48 +0100
Erik P. Olsen wrote:
On Sat, Jan 22, 2005 at 09:58:42PM +0100, Erik P. Olsen wrote:
[root@epo full]# su amanda -c "amlabel -f full full01"
rewinding, reading label full01
rewinding, writing label full01, checking labelamlabel: couldn't
write tapelist: Permission denied
 >
Mine says:
-rw-rw-rw-  1 amanda disk    0 Jan 23 00:42 tapelist

The mode change was my first attempt to cure the problem - to no avail.


And the permission of the directory where the file is in?
You need write access in that dir, and all all the upper dirs need at
least search-priviledges (execute permission) too.


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

<Prev in Thread] Current Thread [Next in Thread>