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

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/6600): > 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 Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

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