germanbrazerzkidai.blogg.se

Owncloud data directory permissions
Owncloud data directory permissions










owncloud data directory permissions owncloud data directory permissions

OWNCLOUD DATA DIRECTORY PERMISSIONS HOW TO

I've also included how to keep your ownership consistent through samba which is useful when copying new files across. There's a direct link to the article below, you'll need to click on the implementation page and look for the find command under the 'Apply correct modes' heading. I've essentially chosen the same solutions as you in that I use the group to assign the permissions and make sure the everyone / other mode is set to apply no permissions. That way it works with plex (and other systems for that matter). As it happens I've just yesterday written a guide over on Tech-KnowHow that covers this, and within that I have described how to set all your folders to 777 and your files to something else. From what I can tell, your chmod command has set all the directory permissions to 770 which would break the listing capability. In all likelyhood, plex won't be able to list your files because the mode 777 is required to list files in a directory even if the files themselves are set more restrictively than 777 e.g. I assume from your post that Plex, Linux OS, and your media are all contained on the same machine and that there are no separate computing devices being used here as that would mean additional steps are required. Just to remind, here are the permissions of /var/media folder (full permissions for group.): drwxrwx- 4 www-data www-data 4096 Oct 30 09:01 media If I launch id plex, I have: uid=107(plex) gid=33(www-data) groups=33(www-data) If I change the ownership of /var/media to plex:So it is well a permissions issue. What am I doing wrong? Maybe it is not a permission issue? To finish, I have tried to connect on my server via ssh with the plex user, and it sees files and folders inside /var/media. In order to make Plex see my medias, I have added the user plex to the group Here is a screenshot: On top of that, all the files in /var/media are owned by www-data:www-data. I changed the permissions of media with: chmod 770 -R /var/media Both from the very beginning when owncloud prompts you to set up an admin account and database server (and data dir), as well as changing it in config.php after the intial set up, as well as replacing the data dir with a symlink to my preferred location. So the folder path is: /var/media/admin/files/Library Re: OwnCloud: data directory as a symbolic link Thank you, Yeah I have tried doing that. I decided to create a folder Library at the root of Owncloud. I have set up /var/media as my Owncloud default folder. I am setting up a multimedia server on Debian 8.












Owncloud data directory permissions