-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
dataset name validation #8564
Labels
good first issue
Indicates a good issue for first-time contributors
Type: Defect
Incorrect behavior (e.g. crash, hang)
Comments
Now I don't understand all of this could you please help me out I Am new |
12 tasks
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Aug 13, 2019
This change restricts filesystem creation if the given name contains either '.' or '..' Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TulsiJain <[email protected]> Closes openzfs#8842 Closes openzfs#8564
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Aug 22, 2019
This change restricts filesystem creation if the given name contains either '.' or '..' Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TulsiJain <[email protected]> Closes openzfs#8842 Closes openzfs#8564
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Aug 23, 2019
This change restricts filesystem creation if the given name contains either '.' or '..' Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TulsiJain <[email protected]> Closes openzfs#8842 Closes openzfs#8564
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Sep 17, 2019
This change restricts filesystem creation if the given name contains either '.' or '..' Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TulsiJain <[email protected]> Closes openzfs#8842 Closes openzfs#8564
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Sep 18, 2019
This change restricts filesystem creation if the given name contains either '.' or '..' Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TulsiJain <[email protected]> Closes openzfs#8842 Closes openzfs#8564
tonyhutter
pushed a commit
that referenced
this issue
Sep 26, 2019
This change restricts filesystem creation if the given name contains either '.' or '..' Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TulsiJain <[email protected]> Closes #8842 Closes #8564
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Indicates a good issue for first-time contributors
Type: Defect
Incorrect behavior (e.g. crash, hang)
System information
Describe the problem you're observing
Dataset names are incorrectly allowed to be "." or "..", this should be detected and prevented when validating the dataset name. Additional discussion of this issue can be found in #8115.
Duplicate of https://www.illumos.org/issues/8254
Duplicate of #8115
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
A warning is issued that the filesystem cannot be mounted, but it will still be created. The desired behavior is for the
zfs create
command to fail with a meaningful error.The text was updated successfully, but these errors were encountered: