Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r154 - trunk/repoguard/src/repoguard/tools/repository.py

repoguard
Discussion topic

Back to topic list

svn commit: r154 - trunk/repoguard/src/repoguard/tools/repository.py

Author schlauch
Full name Tobias Schlauch
Date 2012-12-10 10:56:38 PST
Message Author: schlauch
Date: 2012-12-10 10:56:37-0800
New Revision: 154

Modified:
   trunk/repoguard/src/​repoguard/tools/repo​sitory.py

Log:
Fixed issue #53:
Leading "0" is missing. This caused wrong privileges when using chmod.

Modified: trunk/repoguard/src/​repoguard/tools/repo​sitory.py
Url: http://repoguard.tig​ris.org/source/brows​e/repoguard/trunk/re​poguard/src/repoguar​d/tools/repository.p​y?view=diff&path​rev=154&r1=153​&r2=154
====================​====================​====================​==================
--- trunk/repoguard/src/​repoguard/tools/repo​sitory.py (original)
+++ trunk/repoguard/src/​repoguard/tools/repo​sitory.py 2012-12-10 10:56:37-0800
@@ -104,7 +104,7 @@
                 finally:
                     file_object.close()
                 # Changing rights to executable.
- os.chmod(path, 744)
+ os.chmod(path, 0744)
             else:
                 file_object = open(path, 'r+ab')
                 try:

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r154 - trunk/repoguard/src/repoguard/tools/repository.py schlauch Tobias Schlauch 2012-12-10 10:56:38 PST
Messages per page: