I have a text file at /home/user/textdata that user change it everyday
and I have a PHP script at /var/www/ that want to read that text file.
How to add the permissions?
Run chmod o+rwx /home/user/textdata
chmod o+rwx /home/user/textdata
chmod o+x /home/user
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2 years ago