We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Whether the file permission can be set, for example, LOCK. *.log, I need 640,but these files are 644,I can not update the permission.
The text was updated successfully, but these errors were encountered:
Yes it can
Sorry, something went wrong.
if !readOnly { logw, err = os.OpenFile(filepath.Join(path, "LOG"), os.O_WRONLY|os.O_CREATE, 0644) if err != nil { return nil, err } logSize, err = logw.Seek(0, os.SEEK_END) if err != nil { logw.Close() return nil, err } }
How do i cover 644?
No branches or pull requests
Whether the file permission can be set, for example, LOCK. *.log, I need 640,but these files are 644,I can not update the permission.
The text was updated successfully, but these errors were encountered: