Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4417

Raspberry Pi OS • Mounting a Shared NTFS Network Drive on Bookworm

$
0
0
So I upgraded from an older 32 bit Rasp Pi OS to the latest 64 bit Rasp Pi OS (Bookworm). I am able to mount my shared folder off a Windows computer, but I can't seem to write to the directory. I can't seem to change the permissions to write. So I need some help here. I'm fairly a newbie to linux/pi and everything I've learned so far is looking up guides online. But I can't seem to figure resolve this issue, so hoping someone here can help.

On a fresh install, this is what I did to mount the drive
#Create folder
sudo mkdir -p /mnt/Media

#create a file with my credential
sudo nano /etc/cifs-credentials

#added the following to the file
username=Share
password=XXXX
domain=WORKGROUP

#set permission of the credential file
sudo chmod +rw /etc/cifs-credentials

#mount drive. Note 192.168.1.10 is a windows computer and on the Windows Share account has Read/Write (it worked on the old OS prior to my upgrade, nothing on the windows computer has changed there)
sudo mount -t cifs -o credentials=/etc/cifs-credentials //192.168.1.10/Media /mnt/Media

#set automount at boot
sudo nano /etc/fstab
//192.168.1.10/Media /mnt/Media cifs credentials=/etc/cifs-credentials,vers=3.0,x-systemd.automount 0 0
So with this, I see the folder and able to access files from that folder but I can't write to the folder.

From reading [ur=]viewtopic.php?t=375039]This post[/url], it looks like there is something going on with kernel on Bookworm. Based on that post, I edited the file "sudo nano /boot/firmware/config.txt: and added kernel=kernel8.img under [all] at the end.

Also, I ran the command "sudo chmod 777 /mnt/Media"

When running ls -la /mnt/Media, I get the following (gus it the username on my pi)
drwxr-xr-x 2 root root 4096 Dec 26 2022 .
drwxr-xr-x 4 gus root 4096 Jan 16 15:56 ..
drwxr-xr-x 2 root root 0 Dec 26 2022 FileBot_4.8.5-Windows-Portable
-rwxr-xr-x 1 root root 110106187 Jul 6 2021 FileBot_4.8.5-Windows-Portable.zip
drwxr-xr-x 2 root root 0 Dec 26 2022 FL
drwxr-xr-x 2 root root 0 Dec 26 2022 Movies
-rwxr-xr-x 1 root root 57874 Sep 30 2020 rss.rssrules
drwxr-xr-x 2 root root 0 Dec 26 2022 TV
So it doesn't seem the permission has been updated to Write for group. What should I do next in this case to get this to work?

Statistics: Posted by mizzpenny — Sat Jan 18, 2025 9:26 pm — Replies 0 — Views 1



Viewing all articles
Browse latest Browse all 4417

Trending Articles