05-15-2009
chmod 777 * - oops
I can belive I really did this... chmod 777 /home
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 production server.
Please dont guess on this one!
Thanks!!!!!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
Solaris 2.6, using CDE:
agh. I accidentally set an ugly palette as my Home Session. The problem is, when I change the palette back to Default, I am informed that my change will be apparent in my next session. But when I log out and in, it's still the Ugly Palette. Doesn't matter if I set the... (1 Reply)
Discussion started by: kristy
1 Replies
3. UNIX for Advanced & Expert Users
When ever i mount any of my 2 scsi cdroms, I get a kernel crash with the folfollowing oops kernel output.
I understand that it is impossible to anwser my question WHY but could you give me some advice where i should look to debug the problem or advice me some tools to detect what might be... (3 Replies)
Discussion started by: progressdll
3 Replies
4. UNIX for Dummies Questions & Answers
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
5. Solaris
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
6. Programming
Hi All,
Can any one please differenciate between the Data Abstraction and Encapsulation? If possible, with code.
Thanks in Advance,
Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies
7. Cybersecurity
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
8. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
9. Windows & DOS: Issues & Discussions
Hello,
I use windows XP on a small server. Lately I downloaded a software (hydrological computation) which asked me to install as well the software ‘cygwin' (kind of linux in windows environment) and then to perform in cygwin window the command: ‘chmod -R 777 *' in order to give writings... (2 Replies)
Discussion started by: Cedalise
2 Replies
10. UNIX for Dummies Questions & Answers
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
mkproto(8) System Manager's Manual mkproto(8)
NAME
mkproto - Constructs a prototype file system
SYNOPSIS
mkproto special proto
DESCRIPTION
The mkproto command is used to bootstrap a new file system. First a new file system is created using newfs. mkproto is then used to copy
files from the old file system into the new file system according to the directions found in the prototype file proto. The prototype file
contains tokens separated by spaces or newlines. The first tokens comprise the specification for the root directory. File specifications
consist of tokens, giving the mode, the user ID, the group ID, and the initial contents of the file. The syntax of the contents field
depends on the mode.
The mode token for a file is a 6-character string. The first character specifies the type of the file. (The characters -bcd specify regu-
lar, block-special, character-special, and directory files, respectively.) The second character of the type is either a u or a - (dash) to
specify setuid mode or not. The third character is either a g or a - (dash) for the setgid mode. The rest of the mode is a 3-digit octal
number, giving the owner, group, and other read, write, execute permissions. (See the chmod(1) command for more information.)
Two decimal number tokens come after the mode; they specify the user and group IDs of the owner of the file: If the file is a regular file,
the next token is a pathname from which the contents and size are copied. If the file is a block-special or a character-special file, two
decimal number tokens follow, giving the major and minor device numbers. If the file is a directory, mkproto makes the entries . (dot) and
.. (dot dot) and then reads a list of names and (recursively) file specifications for the entries in the directory. The scan is terminated
with the token $.
The following listing shows a sample prototype specification. d--777 3 1 usr d--777 3 1 sh ---755 3 1 /bin/sh ken d--755 6 1
$ b0 b--644 3 1 0 0 c0 c--644 3 1 0 0 $ $
FILES
Specifies the command path
RELATED INFORMATION
Commands: fsck(8), fsdb(8), newfs(8). delim off
mkproto(8)