niven Posted June 30, 2014 Share Posted June 30, 2014 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 Quote Link to comment
tich3012 Posted June 9, 2016 Share Posted June 9, 2016 Hello How do you solved it?? Thanks Quote Link to comment
veelckoo Posted May 3, 2021 Share Posted May 3, 2021 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 Quote Link to comment
Recommended Posts
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.