gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] write protected directories


From: Johannes Berg
Subject: [Gnu-arch-users] write protected directories
Date: Wed, 28 Jan 2004 14:13:47 +0100

I just did this as a test:

johannes:/tmp/test$ tla init-tree address@hidden/test--jmb--3
johannes:/tmp/test$ tla import
* imported address@hidden/test--jmb--3
johannes:/tmp/test$ mkdir test
johannes:/tmp/test$ mkdir test/test2
johannes:/tmp/test$ tla add-id test
johannes:/tmp/test$ tla add-id test/test2/
johannes:/tmp/test$ chmod -w test
johannes:/tmp/test$ tla make-log
/tmp/test/address@hidden
[...edit log...]
johannes:/tmp/test$ tla commit
* auto-adding address@hidden/test--jmb--3--base-0 to greedy revision library
* from import revision: address@hidden/test--jmb--3--base-0
A/ test
A/ test/.arch-ids
A/ test/test2
A/ test/test2/.arch-ids
A  test/.arch-ids/=id
A  test/test2/.arch-ids/=id
* committed address@hidden/test--jmb--3--patch-1
johannes:/tmp/test$ tla changes
* looking for address@hidden/test--jmb--3--patch-1 to compare with
* auto-adding address@hidden/test--jmb--3--patch-1 to greedy revision library
* found immediate ancestor revision in library 
(address@hidden/test--jmb--3--base-0)
* patching for this revision (address@hidden/test--jmb--3--patch-1)
unable to create directory 
"/home/johannes/.arch-lib/address@hidden/test/test--jmb/test--jmb--3/,,new-revision.1075255592.22479.1/test/.arch-ids"
 (Permission denied)
PANIC: I/O error

But I really have no idea how to fix that well (always calling chmod
works of course).

In any case, it happens, and I regard it as a kind of bug, after all why
does tla store directory permissions if it cannot handle different
permissions.

johannes
-- 
http://www.sipsolutions.de/
Key-ID: 9AB78CA5 Johannes Martin Berg <address@hidden>

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]