Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New created databases have wrong access rights [CORE1887] #2318

Closed
firebird-automations opened this issue May 7, 2008 · 6 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

A bug was reported by Philippe Makowski in devel list.

In the past, Firebird created db file with :

-rw------- 1 firebird firebird
now it create them with :
-rw-r--r-- 1 firebird firebird

It is a good point that firebird group have read access, but why other users ?
I will more agree with
-rw-r----- 1 firebird firebird
or
-rw-rw---- 1 firebird firebird

Commits: 617ac01 a0488e1 c66d60c

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

description: A bug was reported by Philippe Makowski in devel list.

n the past, Firebird created db file with :

-rw------- 1 firebird firebird
now it create them with :
-rw-r--r-- 1 firebird firebird

It is a good point that firebird group have read access, but why other users ?
I will more agree with
-rw-r----- 1 firebird firebird
or
-rw-rw---- 1 firebird firebird

=>

A bug was reported by Philippe Makowski in devel list.

In the past, Firebird created db file with :

-rw------- 1 firebird firebird
now it create them with :
-rw-r--r-- 1 firebird firebird

It is a good point that firebird group have read access, but why other users ?
I will more agree with
-rw-r----- 1 firebird firebird
or
-rw-rw---- 1 firebird firebird

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

To avoid dependency from process umask added explicit call to chmod() after file creation.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1.1 [ 10223 ]

Fix Version: 2.5 Alpha 1 [ 10224 ]

Fix Version: 2.0.5 [ 10222 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment