[WBEL-users] chmod question

Plug n Play plugnplay@grandpacific.ph
Mon, 25 Oct 2004 15:17:49 +0800


Thanks for all who replied.

I will immediately test using your commands.


-----Original Message-----
From: whitebox-users-admin@beau.org [mailto:whitebox-users-admin@beau.org]
On Behalf Of Jesus Aneiros Sosa
Sent: Sunday, October 24, 2004 11:54 PM
To: Plug N Play
Cc: whitebox-users@beau.org
Subject: Re: [WBEL-users] chmod question

Hi,

I think this is not possible with only chmod but you could use find in 
combination with chmod

find / -type d -exec chmod 640 \{\} \;

You could use -ok instead of -exec to ask for a confirmation :)

Best regards, Jesus.

On Sun, 24 Oct 2004, Plug N Play wrote:

> Good day to all,
> 
>  
> 
> Here’s a quick question, how can I change the permission of the main
> directory including
> 
> Its subdirectory recursively without affecting the permission on the
files.
> 
>  
> 
> Command chmod 640 –R * will not do since it changes everything including
the
> files
> 
>  
> 
> Thank you and more power!
> 
>  
> 
> Marc
> 
> 
> ---
> 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
>  
> 
> -- 
> Este mensaje ha sido analizado por el servicio de antivirus
> de la UCf, mediante MailScanner y  F-prot en busca de virus 
> y otros contenidos peligrosos, y se considera que esta limpio.
> No obstante tome sus propias medidas de seguridad.
> 
> 

--
Jesus Aneiros Sosa
GNU/Linux User #190716
perl -e '$_=pack(c5,0105,0107,0123,0132,(1<<3)+2);y[A-Z][N-ZA-M];print;'


-- 
Este mensaje ha sido analizado por el servicio de antivirus
de la UCf, mediante MailScanner y  F-prot en busca de virus 
y otros contenidos peligrosos, y se considera que esta limpio.
No obstante tome sus propias medidas de seguridad.

_______________________________________________
Whitebox-users mailing list
Whitebox-users@beau.org
http://beau.org/mailman/listinfo/whitebox-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 10/15/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 10/15/2004
 



--- CONFIDENTIALITY NOTICE ---
The information in this email may be privileged, confidential, proprietary and exempt from disclosure. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system.