1036
you are viewing a single comment's thread
view the rest of the comments
[-] erev@lemmy.world 7 points 1 year ago

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?

[-] moosetwin@lemmy.dbzer0.com 1 points 1 year ago* (last edited 1 year ago)

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.

[-] Desyn0xox@lemmy.ml 2 points 1 year ago

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
this post was submitted on 04 Sep 2025
1036 points (98.3% liked)

linuxmemes

32833 readers
2011 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. ๐Ÿ‡ฌ๐Ÿ‡ง Language/ัะทั‹ะบ/Sprache
  • This is primarily an English-speaking community. ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ธ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • ย 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS