Add permissions to OSMC user on LAN Topic is solved
Re: Add permissions to OSMC user on LAN
Yes, that is correct but when I login with FTP I cannot. That is also when I login with SSH. I must use sudo. Maybe it's because I format that drive from my linux laptop. I also add permissions for www-data user and dietpi user. Maybe I made it wrong. I'm not good at that stuff :/
Re: Add permissions to OSMC user on LAN
pls can you login using FTP and try to create a folder? How does the user permissions of this looks like afterwards?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Add permissions to OSMC user on LAN
As I say I cannot create, delete folders when login with ftp or ssh on that drive.
Re: Add permissions to OSMC user on LAN
pls can you login using FTP port 21. You are going to login directly to your DietPi system right?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Add permissions to OSMC user on LAN
can you post output of following
Code: Select all
la -la /mnt/Toshiba/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Add permissions to OSMC user on LAN
I give permissions for whole Toshiba HDD for www-data, maybe that is the reason?
Code: Select all
dietpi@DietPi:/$ ls -la /mnt/Toshiba/
razem 28
drwxr-xr-x 4 www-data www-data 4096 mar 20 21:45 .
drwxr-xr-x 8 root root 4096 mar 21 08:11 ..
drwxrwxrwx 8 www-data www-data 4096 mar 20 20:23 dietpi_userdata
drwx------ 2 www-data www-data 16384 mar 18 16:26 lost+found
Re: Add permissions to OSMC user on LAN
as I can see you give permission 777 (r/w to everybody) to dietpi_userdata. Did you have done this now? Because on a screen shot before it was looking different. There it was user www-data only who could write to this folder
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Add permissions to OSMC user on LAN
I give permissions when I install nextcloud. I didn't change it now.
Re: Add permissions to OSMC user on LAN
I would give permission to user dietpi. www-data should be fine for nextcloud folder only. No need to give it to entire user_data directory
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team