[cvsnt] Permissions Problem

bwhicks at aep.com bwhicks at aep.com
Tue Apr 11 14:59:29 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


cvsnt-bounces at cvsnt.org wrote on 04/11/2006 09:21:27 AM:

> The original message got stopped up because it was too big for the list,
so
> I'll send the trace in another email...

And here it is:

The user mrtest is in the "test_lead" group and the directories have the
permissions seen below.

-bash-2.05b$ cvs rlsacl suites/test
Directory: suites/test
Owner: Brian

user=test_lead,message=Stay out, baddies!

        read
        write
        create
        tag
        control(deny)
-bash-2.05b$ cvs rlsacl suites
Directory: suites
Owner: <not set>

user=cvsadmin
        all

<default>,message=Stay out, baddies!
        read
        write(deny)
        create(deny)
        tag(deny)
        control(deny)
-bash-2.05b$ cvs rlsacl
Directory: <root>
Owner: <not set>

user=cvsadmin
        all

<default>,message=Stay out, baddies!
        read
        write(deny)
        create(deny)
        tag(deny)
        control(deny)

There is a module called "test" that has an entry in the modules file like:

test &suites/test

so when you check out the module, you get test/suites/test. This tag is
being performed from the first test directory. Here's the trace:

D:\cogcs\test>cvs -ttt -q tag -c dd-testjunk-0-0-1 suites/test
10:02:25:   -> Tracelevel set to 3.  PID is 3340
10:02:25:   -> Session ID is d0c443a657166bc
10:02:25:   -> Session time is Mon Apr 10 14:02:25 2006
10:02:25:   -> Loading protocol pserver as pserver_protocol.dll
10:02:25:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT\/pserver_protocol.dll
10:02:25:   -> main loop with
CVSROOT=:pserver:mrtest at cogcs:/usr/local/oldcvs
10:02:25:   -> Server codepage is UTF-8
10:02:25:   -> Client codepage is CP1252
10:02:25:   -> Server->Client codepage translation is active
10:02:25:   -> Server version is CVSNT 2.5.02 (Servalan) Build 2099
10:02:25:   -> Client version is CVSNT 2.5.03 (Scorpio) Build 2260
10:02:25:   -> Requesting server cvsignore
10:02:25:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.avi -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.bin -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.bmp -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.bz2 -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.chm -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.class -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.dll -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.doc -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.dvi -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.exe -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.gif -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.gz -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.hqx -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.ico -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.ilk -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.iso -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.lib -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.jar -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.jpg -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.jpeg -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.lnk -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.mpg -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.mpeg -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.mov -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.mp3 -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.ncb -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.o -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.ogg -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.obj -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.pdb -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.pdf -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.png -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.ppt -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.res -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.rpm -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.sit -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.so -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.tar -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.tga -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.tgz -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.tif -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.tiff -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.wav -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.wmv -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.xls -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.zip -kb, 0, 0, 0, 0)
10:02:25:   -> wrap_add(*.Z -kb, 0, 0, 0, 0)
10:02:25:   -> Requesting server cvswrappers
10:02:25:   -> wrap_add(*.cab -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.class -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.doc -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.dll -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.exe -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.exp -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.gif -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.gz -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.jar -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.jpg -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.jpeg -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.lib -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.msi -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.mso -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.pfw -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.png -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.ppt -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.sit -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.tar -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.tlb -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.vsd -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.xls -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.wmz -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.zip -k 'b', 0, 1, 0, 0)
10:02:25:   -> wrap_add(*.tbp -k 'b', 0, 1, 0, 0)
10:02:25:   -> Requesting server cvsrc (read-cvsrc2)
10:02:25:   -> Parsing global cvsrc started
10:02:25:   -> Parsing global cvsrc finished
10:02:25:   -> Name_Repository((null),)
10:02:25:   -> Repository = /usr/local/oldcvs/CVSROOT/Emptydir
10:02:25:   -> Mapped repository = /usr/local/oldcvs/CVSROOT/Emptydir
10:02:25:   -> Name_Repository(suites/test,suites/test)
10:02:25:   -> open_directory(/usr/local/oldcvs/suites/test,(null),(null))
10:02:25:   -> Name_Repository(suites/test,suites/test)
10:02:25:   -> Name_Repository((null),suites/test)
10:02:25:   -> Repository = /usr/local/oldcvs/suites/test
10:02:25:   -> Mapped repository = /usr/local/oldcvs/suites/test
10:02:25:   -> wnt_stat(readme.txt)
10:02:25:   -> _statcore(00000000,readme.txt)
10:02:25:   -> Trying GetFileAttributesEx....
10:02:25:   -> File attributes = 00002020
10:02:25:   ->  - read/write file
10:02:25:   -> GetUnixFileModeNtEA(r,00000078) returns 0666
10:02:25:   -> close_directory()
09:57:22: S -> server_main started
09:57:22: S -> run precommand proc server
09:57:22: S -> run_trigger()
09:57:22: S -> trigger file not found.
09:57:22: S -> Couldn't load trigger email_trigger.la
09:57:22: S -> Couldn't load trigger checkout_trigger.la
09:57:22: S -> Couldn't load trigger audit_trigger.la
09:57:22: S -> Call pre-loaded 'default_trigger.la'
09:57:22: S -> precommand_proc()
09:57:22: S -> Name_Repository((null),)
09:57:22: S -> map_repository(/usr/local/oldcvs)
09:57:22: S -> Loading modules2 from /usr/local/oldcvs/CVSROOT/modules2
09:57:22: S -> lookup_module2(,1)
09:57:22: S -> Repository = /usr/local/oldcvs
09:57:22: S -> Mapped repository = /usr/local/oldcvs
09:57:22: S -> verify_access /usr/local/oldcvs,,(null)
09:57:22: S -> verify_perm(/usr/local/oldcvs,(null),tag,(null),(null))
09:57:22: S -> verify_owner(/usr/local/oldcvs)
09:57:22: S -> Checking admin file /usr/local/oldcvs/CVSROOT/admin for user
mrtest
09:57:22: S -> add_valid_group(test_lead)
09:57:22: S -> add_valid_group(cafdev)
09:57:22: S -> cache_directory_permissions(/usr/local/oldcvs)
09:57:22: S -> fileattr_read(/usr/local/oldcvs)
09:57:22: S -> cache_directory_permissions(/usr/local/oldcvs)
09:57:22: S -> ACL lookup on directory /usr/local/oldcvs
09:57:22: S -> verify_acl(tag,HEAD,(null))
09:57:22: S -> verify_valid_name(cvsadmin)
09:57:22: S -> matched ACL user=, branch=_default_, merge=
09:57:22: S -> calculated ACL priority is 0
09:57:22: S -> new max priority is 0
09:57:22: S -> user_state = 0, group_state = -1
cvs server: User 'mrtest' cannot tag /usr/local/oldcvs
cvs server: Stay out, baddies!
cvs [server aborted]: correct the above errors first!




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook