dbsoundman
Dabbler
- Joined
- Feb 20, 2021
- Messages
- 26
Hi all, I'm a Linux guy and I'm a little lost dealing with some odd details of BSD file permissions.
I migrated all the files in the original data/ folder of my Nextcloud plugin/jail to a mount folder called nextcloud_data/ in the same path, but in the process I forgot that I was root, so the file permissions and ownership got all messed up. I managed to set all the files back to www:www ownership, but for some reason I can't get the .htaccess file in my nextcloud_data folder to have the right permissions.
Currently, it shows
...I'm not sure why there's an extra + at the end, and no matter what I do I can't get rid of the x either. From what I understand, the permissions I need are
I've tried chmod as root, www, using 0644, o-x, u-x...no difference.
How can I get this right?
I migrated all the files in the original data/ folder of my Nextcloud plugin/jail to a mount folder called nextcloud_data/ in the same path, but in the process I forgot that I was root, so the file permissions and ownership got all messed up. I managed to set all the files back to www:www ownership, but for some reason I can't get the .htaccess file in my nextcloud_data folder to have the right permissions.
Currently, it shows
Code:
-rwxr-----+
...I'm not sure why there's an extra + at the end, and no matter what I do I can't get rid of the x either. From what I understand, the permissions I need are
Code:
-rw-r-----
I've tried chmod as root, www, using 0644, o-x, u-x...no difference.
How can I get this right?