Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7163722
D193.id611.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
498 B
Subscribers
None
D193.id611.diff
View Options
diff --git a/swh/storage/vault/cookers/base.py b/swh/storage/vault/cookers/base.py
--- a/swh/storage/vault/cookers/base.py
+++ b/swh/storage/vault/cookers/base.py
@@ -168,6 +168,7 @@
if perms not in (0o100644, 0o100755, 0o120000):
logging.warning('File {} has invalid permission {}, '
'defaulting to 644.'.format(path, perms))
+ perms = 0o100644
if perms == 0o120000: # Symbolic link
os.symlink(content, path)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 2:01 PM (1 w, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217880
Attached To
D193: vault: directory builder: actually default invalid permissions to 644
Event Timeline
Log In to Comment