![]() |
Read Write Permissions to Share on Win 7 Problem - Please Help - Printable Version +- HTPC Guides Forum (https://forum.htpcguides.com) +-- Forum: Raspberry Pi and Clones (https://forum.htpcguides.com/Forum-Raspberry-Pi-and-Clones) +--- Forum: Raspberry Pi (https://forum.htpcguides.com/Forum-Raspberry-Pi) +--- Thread: Read Write Permissions to Share on Win 7 Problem - Please Help (/Thread-Read-Write-Permissions-to-Share-on-Win-7-Problem-Please-Help) |
Read Write Permissions to Share on Win 7 Problem - Please Help - LegendsCoach - Jun 05, 2017 I have made some adjustments to my set up and now have all of my applications on different boxes because I was maxing out the CPU on my downloading box and I found that I had network issues unpacking when I had the downloads land across my network on my Synology NAS drive. Basically what I did was attach a drive to a USB port on the download machine to solve the unpacking issue and then put all of my downloading apps on separate RPI 2 machines. The problem is now I can't get the permissions correct on any of the RPI machines so that they can do the post processing on the drive now attached to the download machine once the download has completed. My download machine is a Windows 7 machine that has NZBGet on it. I have a 1 TB drive attached as "D" through a US port. It is a NTFS drive. The folder structure is D:\Usenet D:\Usenet\complete\Movies D:\Usenet\complete\Music D:\Usenet\complete\TV D:\Usenet\inter D:\Usenet\nzb D:\Usenet\queue D:\Usenet\tmp This all works perfectly fine but very slow when the download apps are on the same Windows 7 machine but now that my Sonarr, Couchpotato and Headphone apps are on individual RPI 2 machines they only have read access to the drive attached to my downloader. I can mount that drive as well as my NAS drive (which incidentally has both read and write access) on my RPI boxes but get permission denied messages when I try to give ownership to the user (knight) I have set up to run the RPI's. I created the RPI boxes using the HTPC Guides image and Media Server Installer. I created the user "knight" and issued usermod -a -G sudo knight to add it to the sudo group. Here is the relevant lines in fstab //10.0.x.x/d/usenet/ /mnt/usenet/ cifs username=knight,password=sword 0 0 //10.0.x.x/PUBLIC/TV/ /mnt/nas/ cifs username=knight,password=sword 0 0 When I issue sudo chown -R knight:knight /mnt/usenet I get a long line of permission denied messages. When I issue a ls - l command on /mnt/usenet I get drwxr-xr-x 2 root root for all of the subdirectories. Incidentally when I tried to mount the attached USB drive as NTFS-3g the RPI fails to reboot completely even though I know that NTFS-3gis installed. I am assuming that was because I had the entry in fstab wrong somehow. One question I have is does my SAMBA domain have to be the same as the domain that my Windows 7 machine is in? It doesn't seem to impact my ability to read and write to my NAS drive which is on the same domain but I am wondering if that might be part of the problem with mounting the drive that is attached to the Window 7 machine. Can anyone help me sort this all out? RE: Read Write Permissions to Share on Win 7 Problem - Please Help - LegendsCoach - Jun 05, 2017 I got some help on the Raspberry Pi forum. Here's the thread https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=185387&p=1171762#p1171762 The long and the short is I needed to turn on the advanced sharing and give my user full control |