Skip to content

styx.Topen flags are 0 on write? #36

Description

@aep

not sure if this is correct and i'm just confused?

case styx.Topen:                                        
    f, err := os.OpenFile(p, msg.Flag , 0777)              
    log.Println("Open", p, msg.Flag, err)      
    msg.Ropen(f, err)     

indicates Flag is always 0, so that when i do

./9pfuse localhost ~/mnt
echo bla > ~/mnt/bar

bar is just an empty file. presumably because it would require O_RDWR to actually write anything

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions