you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago (4 children)

I recently installed mint on my laptop and I'm stumped trying to get my bluetooth headphones and windows' shared folders to work, I can see why most people don't use linux

  • source
  • hideshow 4 child comments
  • [–] 6 points 1 year ago (3 children)

    bluetooth can be a common frustration point, but the Windows shared folders should work. Do you mind me asking what you've tried so far?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 year ago* (last edited 1 year ago) (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

    Dumb question here, but you did remember to point at a directory to mount the share to, right?

    Part from that, I've encountered needing to provide the domain as well (typically WORKGROUP) as the credentials for a user with access to the given share. Furthermore providing username and password on the command-line is known to have some issues, thus I encourage you to provide them in a credential file, which would look something like this:

    username=value
    password=value
    domain=WORKGROUP
    

    My typical command, changed for your case, would be:

    mkdir -p ~/mounted_music
    sudo mount -t cifs -o credentials=~/creds //DESKTOP-N840KKP/My\ Music ~/mounted_music
    

    Not sure I've encountered it myself, but some shares doesn't support Unix Extensions which can be disabled with "nounix", you might want to define access rights then either "rw" or "dir_mode=0777,file_mode=0777". (0777 is not a good practice, but it'll do for testing) thus something like the following options argument.

    -o credentials=~/creds,rw,dir_mode=0777,file_mode=0777,nounix
    
  • source
  • parent
  • hideshow 1 child comment