I would like to see a df ( complete ) of the system, what you show us doesnt help know where you are and on what you are trying a chown... but the only probant case I see root not being able to anything would be NFS... (So is sybase a NFS mount ? )
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)
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)
hi
i wrote a script to run 'C' executable which will create a new file, after that util is completed, i have to change the file ownership to some other user. for that i used "chown" for changing the file permission in Korn script
:confused:but it is throwing error is "operation... (2 Replies)
hello
i want shell script.
i have a source.txt
/home/user409/public_html/test/
/home/user09876/public_html/xdsss/
/home/user9765/public_html/320xxx/
.
.
.
maybe 1000 lines
i want .
1.read a source.txt
2.untar special.tar.gz into these directory in source.txt
3.i want to... (14 Replies)
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)
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)
Hi All,
I need your help in changing the owner of a directory.
I have a created a direcotry TEST with user "abc"....for the group "ftp".
Now i wnated to change the owner of the directory TEST.
i used the below command to do so:
chown abc:sftp TEST
This is giving me an error... (5 Replies)
I am working on a test machine.
I just discovered that I have misunderstood the way the following command is run.
chown -Rv some_user:users /some_folder/*This command do exactly what I want. Change the owner of every things from the named folder and in all child folders.
But of course it leave... (13 Replies)
Discussion started by: jcdole
13 Replies
LEARN ABOUT MOJAVE
quot
quot(1M) System Administration Commands quot(1M)NAME
quot - summarize file system ownership
SYNOPSIS
quot [-acfhnv] filesystem...
quot -a [-cfhnv]
DESCRIPTION
quot displays the number of blocks (1024 bytes) in the named filesystem (one or more) currently owned by each user. There is a limit of
2048 blocks. Files larger than this will be counted as a 2048 block file, but the total block count will be correct.
OPTIONS
The following options are supported:
-a Generate a report for all mounted file systems.
-c Display three columns giving a file size in blocks, the number of files of that size, and a cumulative total of blocks containing
files of that size or a smaller size.
-f Display three columns giving, for each user, the number of blocks owned, the count of number of files, and the user name. This
option is incompatible with the -c and -v options.
-h Estimate the number of blocks in the file. This does not account for files with holes in them.
-n Attach names to the list of files read from standard input. quot -n cannot be used alone, because it expects data from standard
input. For example, the pipeline
ncheck myfilesystem | sort +0n | quot -n myfilesystem
will produce a list of all files and their owners. This option is incompatible with all other options.
-v In addition to the default output, display three columns containing the number of blocks not accessed in the last 30, 60, and 90
days.
OPERANDS
filesystem mount-point of the filesystem(s) being checked
USAGE
See largefile(5) for the description of the behavior of quot when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
EXIT STATUS
0 Successful operation.
32 Error condition (bad or missing argument, bad path, or other error).
FILES
/etc/mnttab Lists mounted file systems.
/etc/passwd Used to obtain user names
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO du(1), mnttab(4), passwd(4), attributes(5), largefile(5)NOTES
This command can only be used by the super-user.
SunOS 5.10 30 May 2001 quot(1M)