rwniceing
asked on
chmod and chgrp on user linux account
Dear Experts,
Now I would like to open my VPS site to visitor. Before doing that, I need to
set all my directories and files to be read only (including download file from visitors).
And I know if don't put any index.html or inde.php at the directories, it will
show the directories content such as file tress on browser. How to not to read the file trees by visitor.
Is there any existing linux script doing for ALL change the read mode with my user group for all
file and directories and its sub-directoried under my VPS user account directory when visitors visit my site and the script meets the requirement mentioned above ? SO I need to take use
chgrp besides chmod command in the script.
For uploading file from visitors, do I need to set write and read for the uploading directory
in my server, how ?
Please advise
Rwnicewing
Now I would like to open my VPS site to visitor. Before doing that, I need to
set all my directories and files to be read only (including download file from visitors).
And I know if don't put any index.html or inde.php at the directories, it will
show the directories content such as file tress on browser. How to not to read the file trees by visitor.
Is there any existing linux script doing for ALL change the read mode with my user group for all
file and directories and its sub-directoried under my VPS user account directory when visitors visit my site and the script meets the requirement mentioned above ? SO I need to take use
chgrp besides chmod command in the script.
For uploading file from visitors, do I need to set write and read for the uploading directory
in my server, how ?
Please advise
Rwnicewing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your reply
ASKER
how to not to show file directories tree on browser if the index.php or inde.html is not existing on
those directories ? For example, when you type http://,mysite.com/php/store/ , it will show the
directory or file tress on browser since there is no any index file.