03-29-2006
Since you're only mounting root and doing some chown's, I would think that a later version of Solaris would work. I tend to avoid risk and thus I would strongly prefer to use 5.6 CD's. If that is not possible, I would go with what I have.
Suppose the coworker made some other errors? In the worst case, you will need to rebuild the boot disk. With no 5.6 CD's you will be forced to do a fast upgrade. Your tolerance for risk must be much high than mine.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to change ownership of a file that I own by using the following command:
chown norfoklm norfolk
norfoklm is the user I am trying to change it to and norfolk is the name of the directory
The error I keep getting is:
chown: norfolk: Not owner
This is on a SUN unix box if... (3 Replies)
Discussion started by: tonydsam
3 Replies
2. AIX
hello
chown not change ownership
before:
205:system ~kuku
chown kuku:system ~kuku
after no change
205:system ~kuku
aix box
can someone help me?
ariec (2 Replies)
Discussion started by: ariec
2 Replies
3. UNIX for Dummies Questions & Answers
is there a difference in chown on a file or a directory?
how do i chown a directory and all the contents? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
4. AIX
I'm a owner of directories or files why I can't deliver the ownership of them up to other users? (1 Reply)
Discussion started by: kang
1 Replies
5. Shell Programming and Scripting
I have a file fin2009_4.txt.gz in the unix ftp server. Owner of the file is: ftpusr.
-rw-r--r-- 1 ftpusr sap 0 Feb 19 10:19 fin2009_4.txt.gz
When I try to delete this file after copying to my home folder, I am getting the following error.
rm: fin2009_4.txt.gz1: override... (4 Replies)
Discussion started by: sid1982
4 Replies
6. UNIX for Advanced & Expert Users
Hi Experts,
I have create a new user with uid and gid as 0 in SuSE-11 Server. After that all the files having root owner ship are showing as new user name as owner. If I login as root, and type 'id' command, it also shows the new user.
Sample output from my server.
host:~ # id
uid=0(test)... (4 Replies)
Discussion started by: vipinable
4 Replies
7. Solaris
Hello
My oracledatabase creats some xmlfiles. this files has the owner hugo. now I've a script (how runs als hugo2) and this script will insert this XMLFile into the database. But that doesn't work, because the owner of the files is wrong, and hugo has not the rights to insert this files into... (3 Replies)
Discussion started by: Street
3 Replies
8. Emergency UNIX and Linux Support
Hi.
I've had a little mishap.
To cut a long story short, I've accidentally recursively ran chown on a directory (actually a bunch of 'em). Not a problem in itself, but I had a slight error in the code I used to get the list of directories and ended up with a comment in the file ownership.
... (15 Replies)
Discussion started by: Scott
15 Replies
9. Shell Programming and Scripting
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies
10. Red Hat
Hi All,
Accidentally changed ownership of /var directory as root :eek: thinking that I am changing ownership of var directory in other location in the file system:D.Now unable to SSH into the server:(.
By gods grace I was able to regain the access again as server was in control of me at that... (5 Replies)
Discussion started by: shiek.kaleem
5 Replies
LEARN ABOUT DEBIAN
explain_chown_or_die
explain_chown_or_die(3) Library Functions Manual explain_chown_or_die(3)
NAME
explain_chown_or_die - change ownership of a file and report errors
SYNOPSIS
#include <libexplain/chown.h>
void explain_chown_or_die(const char *pathname, int owner, int group);
DESCRIPTION
The explain_chown_or_die function is used to call the chown(2) system call. On failure an explanation will be printed to stderr, obtained
from explain_chown(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_chown_or_die(pathname, owner, group);
pathname
The pathname, exactly as to be passed to the chown(2) system call.
owner The owner, exactly as to be passed to the chown(2) system call.
group The group, exactly as to be passed to the chown(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO
chown(2)
change ownership of a file
explain_chown(3)
explain chown(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_chown_or_die(3)