This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin-1.3.20-1 breaks termcaps [actually permissions break them]


On Wednesday, February 26, 2003 at 17:14:24, Ronald Landheer-Cieslakq wrote:
[...]
> > Has someone a script to fix the permissions of all standard
> > files to a reasonable value instead of +rx for all dirs and
> > +r for all files?
> $ chmod -R a+r *
> ?
> 
> or 
> $ find -type d -exec chmod go+rx \{\} \;
> $ find -type f -exec chmod go+3 \{\} \;
> ?

That is the way I did it, but IMHO it is the naive way,
since not all files should get a+r, e.g. /etc/ssh_host*key
should not be readable by all, but just by admins and system
...

Certainly there are other files that should be treated
similar, at least when we are not willing to run with
Windows standard permissions, i.e. full access to any file
for everyone.

Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]