June 30, 201412 yr Hello! I just bought a Raspberry Pi and i want to use it to be able to change/import/export files from my unraid server. I have successfully mounted my unraidshare; media , and can view the files on my PI. What I've done; cd /mnt sudo mkdir /mnt/unraidtower sudo mount -t cifs //192.xxx.x.xx/media /mnt/unraidtower -o username=pi,password=raspberry Then I'm able to read from the share, and see all the files in /mnt/unraidtower. But im not able to edit any of the files. I get premission denied even though I have created the user; pi with the correct password raspberry in unraid and sat the permissions for that user to Read/write. Any idea why i get file premission denied, or have I gone about this the wrong way? Any tips or help is greatly appreciated Edit got it solved
May 3, 20215 yr This is old post but shown by google search so might be helpful for other people experiencing similar problem: BY default cifs mounts with owner = root and permissions of 755. You can set dir_mode to 777 when mounting: sudo mount -t cifs //192.xxx.x.xx/media /mnt/unraidtower -o username=pi,password=raspberry,dir_mode=0777,file_mode=0777
January 11, 20242 yr On 5/3/2021 at 6:11 AM, veelckoo said: This is old post but shown by google search so might be helpful for other people experiencing similar problem: BY default cifs mounts with owner = root and permissions of 755. You can set dir_mode to 777 when mounting: sudo mount -t cifs //192.xxx.x.xx/media /mnt/unraidtower -o username=pi,password=raspberry,dir_mode=0777,file_mode=0777 Thanks! This did help me!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.