(having apache error when trying to post, may be repost, excuse if it is)Hi,I really like linux, have used it for my desktop for years now. I like to tinker and work out problems as they arise.This problem has stumped me.Problem: when I copy files from desktop to NAS, when i check the permissions on the file on the NAS: owner=me read/write, group=public read only. The real problem is that when I have to use my Win10 box, I am unable to modify these files on NAS.I mount via fstab line and CIFS.OS: Ubuntu 16.04.1 LTSNAS: NAS4freeI am not sure how to have the existing group=public be read/write.Rambling and humbly yours,fisheater Let's block ads! بخوانید...
ادامه مطلبHello, I'm new to linux and want to host a website on dedicated server, I put the php files in the public "www" directory along with private folder that should be accessed only by the server itself (I mean php scripts writing and reading files in the folder). I read that the Apache server operates under account "www-data", so I set that account as folder owner with permissions 700, but I can still access this folder from web browser at home, until I remove the www-data permissions. Is it normal that the website visitors use the same account as web server? If so, how can I configure the permissions correctly so only PHP script can access the files within dir?Best regards Let's block ads! بخوا...
ادامه مطلب