Asked by duncanb7
at 2024-08-14 09:49:52
Point:500 Replies:9 POST_ID:828746USER_ID:11059
Topic:
Linux;PHP Scripting Language;Apache Web Server
I would like to set permission control on my server for user on Linux CentOS6
Anyone know it from this tutorial link,
http://www.computerhope.com/unix/uchmod.htm
dxxxyyyzzz, Where d is directory, xxx for server owner, yyy for group user, zzzz for outside users.
When I did " chmod 700 mydir" on linux shell that I want to let my own only
access the mydir for r,w,x permsision and other users in internet could not access this directory
But I tried it on my browser as users and other one can access this directory's index.php.
Why after 700 change, all users can access these diretory?
I thought the issue might be caused by different distribution of Linux such as Centos
It might be not
dxxxyyyzzz or it should be dzzzyyyxxx,
But when I tried "chmod 007 mydir", all users and I (am the owner) that can
Not access the directory's index.php Why ?
And last question, even I can not control group user access , Why and how ?
Please advise
Duncan
Anyone know it from this tutorial link,
http://www.computerhope.com/unix/uchmod.htm
dxxxyyyzzz, Where d is directory, xxx for server owner, yyy for group user, zzzz for outside users.
When I did " chmod 700 mydir" on linux shell that I want to let my own only
access the mydir for r,w,x permsision and other users in internet could not access this directory
But I tried it on my browser as users and other one can access this directory's index.php.
Why after 700 change, all users can access these diretory?
I thought the issue might be caused by different distribution of Linux such as Centos
It might be not
dxxxyyyzzz or it should be dzzzyyyxxx,
But when I tried "chmod 007 mydir", all users and I (am the owner) that can
Not access the directory's index.php Why ?
And last question, even I can not control group user access , Why and how ?
Please advise
Duncan