Sponsored Content
Full Discussion: chmod -R 777 * in cygwin
Special Forums Windows & DOS: Issues & Discussions chmod -R 777 * in cygwin Post 302452354 by zaxxon on Friday 10th of September 2010 05:12:10 AM
Old 09-10-2010
At first:
Please do not use so many different fonts when posting since it is a pain to edit your post, if there is something to edit - for yourself and also for moderators, thanks Smilie

I just checked my XP box and noticed there are very different permissions on DLLs in \WINDOWS\system32 and below. I guess a restore will be best - maybe one of the Win XP recovery option (I have no clue, sorry) can do some kind of roll-back?

-R stands for recursive for many Unix/Linux commands. If unsure next time, do not hesitate to ask here.
If using cygwin just for tests, maybe stay in the default home directory of your cygwin installation and do not change out of it, ie. no "cd c:" if not necessary Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

chmod 777 on all directories below...how do I do that using the "find" command?

I've got 100 directories that each have 2 directories with in them. Structered like this: /home/domains/domain1/ through to /home/domains/domain100/ and those 2 directories mentioned above are here: /home/domains/domain1/directory1/ /home/domains/domain1/directory2/ through to... (7 Replies)
Discussion started by: Neko
7 Replies

2. UNIX for Dummies Questions & Answers

chmod 777 security risks?

Hello all, I did a considerable search of the forum and didn't find an answer so I'll ask it here. For clarity's sake I'll state that I know just enough about Unix to be Dangerous (I'm an old Clipper, VO, ASM programmer from the 80's.) I would like to install PHP driven CMS program to my... (6 Replies)
Discussion started by: Gary777
6 Replies

3. Solaris

chmod -R 777 in /usr Solaris 9 = Major Screwup

Hello Everyone: One of our admins here accidently ran chmod -R 777 in the /usr folder on a V440 running Solaris 9. After that no one could run any command and could not login. I fixed most of the things by re-restricting some rights and applying the correct rights. Now there is a problem... (3 Replies)
Discussion started by: muntaser_zaheer
3 Replies

4. UNIX for Dummies Questions & Answers

chmod 777 * - oops

I can belive I really did this... chmod 777 /home :eek: I have my /home directory synced to another machine. Can anyone tell me how to get the permissions from back up server /home to production server /home It's important that I dont over write the files on the... (1 Reply)
Discussion started by: shunter63
1 Replies

5. Cybersecurity

can another user 777 and existing 777 dirctory?

User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when... (4 Replies)
Discussion started by: zlek131
4 Replies

6. UNIX and Linux Applications

What is the difference between chmod in solaris and chmod in Linux?

i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies

7. UNIX for Dummies Questions & Answers

Only allowing chmod 777 for file upload folder

Hey everyone. I have 2 different linux servers (each one is through a different web hosting company). On both servers I have the exact same PHP file upload script that allows users to upload a file or image to the server (everything on both servers is identical). On server #1 the "attachments"... (5 Replies)
Discussion started by: Mr.Canuck
5 Replies

8. Shell Programming and Scripting

get file permission in 777 format

Hi All, Is there any unix(solaris) command to get file permissions in 777 format or do we need to write some script for it? (7 Replies)
Discussion started by: rishav
7 Replies

9. Shell Programming and Scripting

777 files and dir

i have four files that have 777 permission find /var/tttt/ -type f -perm 0777 /var/ttt/1 /var/ttt/2 /var/ttt/3 /var/ttt/4 if any file other than above 4 have 777 permission then move that file to /garbage/yyyy-mmm-dd . Also email me that this have abcd have 777 permission. (6 Replies)
Discussion started by: learnbash
6 Replies

10. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies
Module::Install::With(3)				User Contributed Perl Documentation				  Module::Install::With(3)

   interactive
       The "interactive" function tests for an install that has a user present (or at least, one in which it is reasonable for us to present
       prompts and other similar types of things).

       Returns true if in an interactive environment, or false otherwise.

   automated_testing
       Are we currently running in an automated testing environment, such as CPAN Testers.

       This is primarily a cleaner and more human-readable equivalent of checking $ENV{AUTOMATED_TESTING} yourself, but may be improved in line
       with best practices at a later date.

   release_testing
       Are we currently running in an release testing environment. That is, are we in the process of running in a potential highly-intensive and
       high dependency bloat testing process prior to packaging a module for release.

       This is primarily a cleaner and more human-readable equivalent of checking $ENV{RELEASE_TESTING} yourself, but may be improved in line with
       best practices at a later date.

   win32
       The "win32" function tests if the Makefile.PL is currently running in a native Microsoft Windows Perl, such as ActivePerl or Strawberry
       Perl.

       This is primarily a cleaner and more human-readable equivalent of checking "$^O eq 'MSWin32'" yourself, but may be improved in line with
       best practices at a later date.

   winlike
       The "winlike" function tests if the Makefile.PL is currently running in a Microsoft Windows Perl, under either cygwin or a native Win32
       Perl.

       This is primarily a cleaner and more human-readable equivalent of checking "$^O eq 'MSWin32' or $^O eq 'cygwin'"yourself, but may be
       improved in line with best practices at a later date.

SEE ALSO
Module::Install AUTHORS
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2007 - 2012 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.16.3 2012-03-01 Module::Install::With(3)
All times are GMT -4. The time now is 09:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy