Just use find to locate directories and make them executable:

$ find /path/to/dir -type d -exec chmod +x {} \;


Louis-Marie

Dejan Batic a écrit :
> Hi,
> 
>  
> 
> I restored some files, well a bunch of them but in the process user’s 
> permissions got mixed up.
> 
>  
> 
> Now, how can I apply chmod o+x only to folders?
> 
>  
> 
> I want other users to be able to open folders without putting x bit to 
> all the files.
> 
>  
> 
> BTW, I posted the question about filtering file extensions using rsyncd, 
> but I got no reply. Should I assume that it’s not possible to do that?
> 
>  
> 
> Thanks
> 
>  
> 
>  
> 
> Dejan
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to