tests should create share files with the same Unix mode bits as a real storage server #1538

Open
opened 2011-09-20 20:01:16 +00:00 by davidsarah · 1 comment
davidsarah commented 2011-09-20 20:01:16 +00:00
Owner

Real storage servers create share files with mode 600 (rw-------), but some tests create share files with mode 644 and/or 755 (possibly depending on umask). Tests should do the same thing as a real server in order to be more realistic.

Real storage servers create share files with mode 600 (rw-------), but some tests create share files with mode 644 and/or 755 (possibly depending on umask). Tests should do the same thing as a real server in order to be more realistic.
tahoe-lafs added the
code
minor
defect
1.9.0a1
labels 2011-09-20 20:01:16 +00:00
tahoe-lafs added this to the undecided milestone 2011-09-20 20:01:16 +00:00
zancas commented 2011-09-20 20:03:34 +00:00
Author
Owner

Replying to davidsarah:

Real storage servers create share files with mode 600 (rw-------), but some tests create share files with mode 644 and/or 755 (possibly depending on umask). Tests should do the same thing as a real server in order to be more realistic.

Could it be that filepath setContent has different defaults than filehandle.close()?

Replying to [davidsarah](/tahoe-lafs/trac-2024-07-25/issues/9043): > Real storage servers create share files with mode 600 (rw-------), but some tests create share files with mode 644 and/or 755 (possibly depending on umask). Tests should do the same thing as a real server in order to be more realistic. > Could it be that filepath setContent has different defaults than filehandle.close()?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1538
No description provided.