Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: access mode of a directory
- To: tlug@example.com
- Subject: Re: access mode of a directory
- From: "A.Sajjad Zaidi" <sajjad@example.com>
- Date: Mon, 02 Jul 2001 13:48:18 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- Organization: Vanguard K.K.
- References: <20010702115927.91FB.AKAMINE@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <8JXD2D.A.3nC.Z0_P7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: sajjad
Hector Akamine wrote: > Hello, > > I have a doubt about directory permissions. If I set the access mode of > a directory to 711 (drwx--x--x), can the files of the directory be > accessed by the members's of the group? In the case of a directory, > what is the difference between 711 and 700? 711 allows owner to 'read, write and execute' and group and others to only 'execute' anything inside the directory. 700 only allows the owner to 'read, write and execute'. > I am using .htaccess in apache to restrict the files of a > directory (originally with mode 755) to be viewed only when the correct > username and password is provided. But the contents of the directory can > obviously be seen by anybody who can log to the machine. Does changing > the permissions to 711 prevent this? To do this you will have to set the permissions to 750 for the directory and change group to nobody (or whatever apache is set to use). However anyone in the same group will be able to see inside. Usually, none of the users are in the nobody group except nobody itself. > > > Thanks in advance > > ----------------------------------------------------------------------- > Next Technical Meeting: Sat, July 14 13:30- > Next Nomikai Meeting: Fri, Aug 10 19:30- Tengu Tokyo Eki-Mae > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- Re: access mode of a directory
- From: "SN_Diamond" <Norman.Diamond@example.com>
- Re: access mode of a directory
- From: "Thomas O'Dowd" <tom@example.com>
- References:
- access mode of a directory
- From: Hector Akamine <akamine@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: CD-RW Driver
- Next by Date: Re: shell on Win32
- Prev by thread: access mode of a directory
- Next by thread: Re: access mode of a directory
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links