[WBEL-users] chmod question

Michael Falzon nozy@mozysswamp.org
Mon, 25 Oct 2004 00:33:07 +1000


--=-8uil4x8HyeaGuOWlMYCk
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi=20
   hmmm not sure if you can do that ....=20

just a note ....=20

chmod 640 filename.txt

R =3D 4
W =3D 2
X =3D 1

you can do it this way 2

chmod u=3Drw,g=3Dr,o=3D filename.txt=20

On Sun, 2004-10-24 at 21:09, Plug N Play wrote:

> --> =20
>=20
> Good day to all,
>=20
> =20
>=20
> Here=E2=80=99s a quick question, how can I change the permission of the m=
ain
> directory including
>=20
> Its subdirectory recursively without affecting the permission on the
> files.
>=20
> =20
>=20
> Command chmod 640 =E2=80=93R * will not do since it changes everything
> including the files
>=20
> =20
>=20
> Thank you and more power!
>=20
> =20
>=20
> Marc
>=20
>=20
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.782 / Virus Database: 528 - Release Date: 10/22/2004


See BUG.  "That's not a bug, it's a feature!" =20
A bug can be changed to a feature by documenting it.


Michael Falzon (RHCT)=20
Mozy's Swamp BBs & Red Dwarf BBs
http://mozysswamp.org
Registered LFS User   #406
Registered Linux User #204397

--=-8uil4x8HyeaGuOWlMYCk
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY LINK="#0000ff">
Hi <BR>
&nbsp;&nbsp; hmmm not sure if you can do that .... <BR>
<BR>
just a note .... <BR>
<BR>
chmod 640 filename.txt<BR>
<BR>
R = 4<BR>
W = 2<BR>
X = 1<BR>
<BR>
you can do it this way 2<BR>
<BR>
chmod u=rw,g=r,o= filename.txt <BR>
<BR>
On Sun, 2004-10-24 at 21:09, Plug N Play wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#737373"><I>--&gt;  <BR>
    </FONT><BR>
    <FONT COLOR="#737373" SIZE="2">Good day to all,</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">&nbsp;</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">Here&#8217;s a quick question, how can I change the permission of the main directory including</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">Its subdirectory recursively without affecting the permission on the files.</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">&nbsp;</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">Command chmod 640 &#8211;R * will not do since it changes everything including the files</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">&nbsp;</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">Thank you and more power!</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">&nbsp;</FONT><BR>
    <FONT COLOR="#737373"></FONT><BR>
    <FONT COLOR="#737373" SIZE="2">Marc</FONT><BR>
    <FONT COLOR="#737373"><BR>
    </FONT><BR>
    <FONT COLOR="#737373" SIZE="2">---<BR>
    Outgoing mail is certified Virus Free.<BR>
    Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
    Version: 6.0.782 / Virus Database: 528 - Release Date: 10/22/2004</I></FONT>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT COLOR="#000033"><TT><BR>
See BUG.&nbsp; &quot;That's not a bug, it's a feature!&quot;&nbsp; <BR>
A bug can be changed to a feature by documenting it.</TT></FONT><BR>
<BR>
<PRE>Michael Falzon (RHCT) 
Mozy's Swamp BBs &amp; Red Dwarf BBs
http://mozysswamp.org
Registered LFS User   #406
Registered Linux User #204397</PRE>
</TD>
</TR>
</TABLE>

</BODY>
</HTML>

--=-8uil4x8HyeaGuOWlMYCk--