I don’t use AI, I just write formally sometimes

I first joined lemmy in June 2023

/u/moosetwin@lemmy.world is my alt

links:

  • 55 Posts
  • 274 Comments
Joined 2 years ago
cake
Cake day: August 15th, 2023

help-circle



  • I don’t really have a good memory, but I talked through it with some folks online and after 2 hours none of us could figure it out so I don’t think you’ll have much luck.

    The error I kept getting was mount error(13): Permission denied when trying to run

    sudo mount.cifs '//DESKTOP-N84OKKP/My Music/ -o username='*******',password='*******'
    

    (username and password redacted, but there was a space in the username and an ! in the password for the computer sharing the folder)

    Here’s what I tried:

    • Setting the username/password to those of either computer
    • Setting the UID (with uid=$UID)
    • Changing the name of the shared folder
    • Unsharing it and resharing it
    • Putting different parts of the command in quotes
    • Switching between left slashes and right slashes
    • Trying both sudo mount.cifs and sudo mount -t cifs
    • Various combinations of the above
    • Changing the security protocol with sec= (I don’t remember what to, I didn’t write this one down)

    I know the shared folder itself works, because I can access it from a non-linux computer.