Answer the question
In order to leave comments, you need to log in
How to open access to user files?
Hey!
There is a www user, he is in the viiw group
and there is a www/html folder, the contents of which are visible to everyone on the Internet
/var/www/html/ (chown www-data.www-data, chmod 0750)
Answer the question
In order to leave comments, you need to log in
Add umask 002
at the end of the file /home/user_name/.bash_profile You
should get something like this:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
umask 002
Subsystem sftp /usr/libexec/openssh/sftp-server -u 0002
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question