# Moved a folder locally to my nextcloud drive. Won't open anymore: Permission Denied

**URL:** <https://help.nextcloud.com/t/moved-a-folder-locally-to-my-nextcloud-drive-wont-open-anymore-permission-denied/83664>\
**Category:** ℹ️ Support\
**Created:** [June 4, 2020, 6:18pm UTC](https://help.nextcloud.com/t/moved-a-folder-locally-to-my-nextcloud-drive-wont-open-anymore-permission-denied/83664 "2020-06-04T18:18:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hertelukas](https://help.nextcloud.com/user_avatar/help.nextcloud.com/hertelukas/32/18238_2.png) [@hertelukas](https://help.nextcloud.com/u/hertelukas)\
**Post date:** [June 4, 2020, 6:18pm UTC](https://help.nextcloud.com/t/moved-a-folder-locally-to-my-nextcloud-drive-wont-open-anymore-permission-denied/83664/1 "2020-06-04T18:18:58Z")

</div>

Operating system _Raspbian Buster Lite_:  
Server _Raspberry Pi 4_  
Installation _[Official Documentation for Raspberry](https://docs.nextcloudpi.com/en/how-to-install-nextcloudpi/)_ not via a package on debian.

I tried to make an backup today of my nextcloud drive. So I plugged it into my main computer, and started copying everything to a second drive. After seeing that it would take about 300 hours I stopped. (I know this is not how you’re supposed to do backups).

Some folders where missing on my original drive. (I was in the ncdata folder, the only one showing when plugging the drive in). **So I moved the missing data back to my nextcloud drive.** Everything is back again, no data missing. I restarted the server, but **when trying to access this particular folder via SMB, a message pops up with permission denied.** All other folders work. When logging in on my webpage, it’s just an internal error, I can’t do anything at all.

What am I doing wrong? I think I have to relink this folder somewhere again, but when opening `/var/www/nextcloud/config` via SSH I have no idea what could be missing. In general, the file is pretty small, I don’t think there could be the solution.

---

<div class="post-metadata">

**Author:** ![hertelukas](https://help.nextcloud.com/user_avatar/help.nextcloud.com/hertelukas/32/18238_2.png) [@hertelukas](https://help.nextcloud.com/u/hertelukas)\
**Post date:** [June 6, 2020, 9:00am UTC](https://help.nextcloud.com/t/moved-a-folder-locally-to-my-nextcloud-drive-wont-open-anymore-permission-denied/83664/2 "2020-06-06T09:00:53Z")

</div>

Managing the permissions solved the issue. At least for SMB. Web page still not working, but at least SMB and the mobile Nextcloud app.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:12am UTC](https://help.nextcloud.com/t/moved-a-folder-locally-to-my-nextcloud-drive-wont-open-anymore-permission-denied/83664/3 "2024-12-12T07:12:55Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:12am UTC](https://help.nextcloud.com/t/moved-a-folder-locally-to-my-nextcloud-drive-wont-open-anymore-permission-denied/83664/4 "2024-12-12T07:12:56Z")

</div>


