Apache OpenOffice (AOO) Bugzilla – Issue 24391
qatesttool cvs noentry: Permission denied
Last modified: 2013-08-07 15:07:41 UTC
cvs [update aborted]: could not chdir to qatesttool/framework/filedlg/input/noentry: Permission denied jim@sun:/usr/local/645$ ls -la qatesttool/framework/filedlg/input/noentry ls: qatesttool/framework/filedlg/input/noentry: Permission denied jim@sun:/usr/local/645$ cd qatesttool/framework/filedlg/input/noentry bash: cd: qatesttool/framework/filedlg/input/noentry: Permission denied jim@sun:/usr/local/645$ cd qatesttool/framework/filedlg/input jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$ ls -la total 36 drwxrwsrwx 9 jim jim 4096 2003-12-26 10:49 . drwxrwsrwx 6 jim jim 4096 2003-12-26 10:49 .. drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 alldocs drwsrwsrwx 2 jim jim 4096 2003-12-26 17:21 CVS drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetest drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetst2 d--------- 3 jim jim 4096 2003-12-26 10:49 noentry dr--r--r-- 3 jim jim 4096 2003-12-26 10:49 readentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readonly If i chmod like the others then it will proceed until after another update. Using ssh tunnel :pserver:sparcmoz@localhost:/cvs chmod a+rwxs * drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 noentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readonly jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$ cvs status noentry cvs server: Examining noentry =================================================================== File: fdlg.sxw Status: Up-to-date Working revision: 1.1 Repository revision: 1.1 /cvs/qa/qatesttool/framework/filedlg/input/noentry/fdlg.sxw,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: -kb jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$
after all that i did delete noentry and cvs -z4 update -dP qatesttool now: jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$ ls -la total 36 drwxrwsrwx 9 jim jim 4096 2004-01-14 22:47 . drwxrwsrwx 6 jim jim 4096 2003-12-26 10:49 .. drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 alldocs drwsrwsrwx 2 jim jim 4096 2004-01-14 22:47 CVS drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetest drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetst2 drwxr-sr-x 3 jim jim 4096 2004-01-14 22:47 noentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readonly jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$ ls -ld noentry drwxr-sr-x 3 jim jim 4096 2004-01-14 22:47 noentry jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$
paveljanik-> sparcmoz: could you try to do cvs up in qadevtools on different architecture?
did cvs checkout qatesttool on i686 linux - no problems. hmm, maybe the testtool does something to my directories? so i run that script on just these files: jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$ ls -la total 36 drwxrwsrwx 9 jim jim 4096 2004-01-14 22:47 . drwxrwsrwx 6 jim jim 4096 2003-12-26 10:49 .. drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 alldocs drwsrwsrwx 2 jim jim 4096 2004-01-14 22:47 CVS drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetest drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetst2 d--------- 3 jim jim 4096 2004-01-14 22:47 noentry dr--r--r-- 3 jim jim 4096 2003-12-26 10:49 readentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readonly jim@sun:/usr/local/645/qatesttool/framework/filedlg/input$ # insert tests here testList=(" /qatesttool/framework/filedlg/filedlg_attributes.bas\ /qatesttool/framework/filedlg/filedlg_autocompletion.bas\ /qatesttool/framework/filedlg/filedlg_dialogtest.bas\ /qatesttool/framework/filedlg/filedlg_folders.bas\ /qatesttool/framework/filedlg/filedlg_ftpaccess.bas\ ") so it is one of these does the damage. result: cvs [update aborted]: could not chdir to qatesttool/framework/filedlg/input/noentry: Permission denied jim@sun:/usr/local/645$
now it is a worry becuase i do everything as unpriveleged user (not root) but i need become root to undo that damage.
sun:/usr/local/645# ls -ld qatesttool/framework/filedlg/input/noentry/* drwxr-sr-x 2 jim jim 4096 2004-01-14 22:47 qatesttool/framework/filedlg/input/noentry/CVS -rwxr-xr-x 1 jim jim 5359 2003-09-25 19:21 qatesttool/framework/filedlg/input/noentry/fdlg.sxw sun:/usr/local/645# exit exit You have new mail in /var/mail/jim jim@sun:/usr/local/645$ ls -ld qatesttool/framework/filedlg/input/noentry/* ls: qatesttool/framework/filedlg/input/noentry/*: Permission denied jim@sun:/usr/local/645$
I will try and move this to qa. I checked out qatesttool on cvs with no tag (defaults to HEAD?) and run tests linux/sparc on 111fix2 The problem is qatesttool/framework/filedlg/filedlg_attributes.bas leaves my directories such that cvs cannot update them: sun:/usr/local/645/qatesttool/framework/filedlg/input# ls -la total 36 drwxrwsrwx 9 jim jim 4096 2004-01-14 22:47 . drwxrwsrwx 6 jim jim 4096 2003-12-26 10:49 .. drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 alldocs drwsrwsrwx 2 jim jim 4096 2004-01-14 22:47 CVS drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetest drwsrwsrwx 4 jim jim 4096 2003-12-26 10:49 filetst2 d--------- 3 jim jim 4096 2004-01-14 22:47 noentry dr--r--r-- 3 jim jim 4096 2003-12-26 10:49 readentry drwsrwsrwx 3 jim jim 4096 2003-12-26 10:49 readonly I run testtool as unpriveleged user but only root can do the repairs.
Now in that bas these comments: ' NOTE: The test can only complete correctly if some of the working ' directories have special attributes/accessrights ' chmod -R 000 /.../framework/filedlg/input/noentry ' chmod -R 555 /.../framework/filedlg/input/readentry ' chmod 444 /.../framework/filedlg/input/readonly/*.* call hSetUNIXAttributes ' tries to set the attributes for the directories/files ' used in tFileSpecialLoad and tFileSpecialSave ' This works on Sol/Lin only (permissions required)
I accept if this is useful for the test, but the problem is that it cannot be un-done by the user: chmod -R 000 /.../framework/filedlg/input/noentry
Reassign issue to owner of selected subcomponent
this is needed for the test; So it is intended behaviour; I didn't have an issue on cvs with that, but maybe I'm doing it somehow different... Is it still an issue? will close this one now. cheers Thorsten
.
The problem continues here on latest qatestool. cvs cannot over-write this directory after running the tests. d--------- 3 jim jim 4096 2004-01-14 22:47 noentry So it is necessary to do a fresh checkout of qatestool every time. The module cannot be updated using cvs update. It seems odd to modify test sources by running a test, but the fresh checkout is a simple work-around so i am happy to leave this closed.