09-24-2007
I am the owner,yet not allowed the change the ownership
sm860 IS the owner of the files below,but yet sm860 cannot change the ownership to bpt3a1.Please let me know why ?
See below for details
---
sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $ ls -l pcasav*
-rw-r--r-- 1 sm860 gdpintegrators 821 Sep 21 16:15 pcasavdaily.dat
-rw-r--r-- 1 sm860 gdpintegrators 39 Sep 21 16:15 pcasavdaily.end
sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $ whoami
sm860
sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $ chown bpt3a1 pcasav*
chown: pcasavdaily.dat: Not owner
chown: pcasavdaily.end: Not owner
sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $
thx
m
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I change ownership of a directory and all of it's files without changing permissions? (1 Reply)
Discussion started by: mborin
1 Replies
2. UNIX for Dummies Questions & Answers
How to change the owner of group?
-rw-r--r-- 1 lead lead
Now I need to change LEAD to SUBLEAD.. how do I do this.
I am using this command.
$chown -R sublead test.lck
I get this message
chown: test.lck: Not owner
I am logged in a LEAD..
All your help in regards are greatly... (16 Replies)
Discussion started by: venkyA
16 Replies
3. UNIX for Dummies Questions & Answers
Hi Group,
Can anyone assist me with this?
I am on AIX 5.2 ML06. I create the user and assign a passwd. But I do not want the user to change the passwd at all. I like him/her to use the passwd that I have set for him/her. Any ideas would be highly appreciated!!!
Thanks. (3 Replies)
Discussion started by: brookingsd
3 Replies
4. Shell Programming and Scripting
Dear All,
i have a file and i want to change the owner of that file from another user.
for example
$ ls -l pkc.txt
-rw-r--r-- 1 tdmscrdr dba 717 Nov 2 17:10 pkc.txt
the owner of pkc.txt file is tdmscrdr and group is dba
i want to change the owner of this file from... (7 Replies)
Discussion started by: panknil
7 Replies
5. Shell Programming and Scripting
Good afternoon,
Sir's, i owuld like to search for some advice, whats the fastest way to change multiple files ownership. For HostnameA will be their basis, for what ever files and permissions that hostnameA has, it should replicate the permissions and ownership to hostname B.
$hostname... (1 Reply)
Discussion started by: invinzin21
1 Replies
6. Shell Programming and Scripting
i want to find what are the files having owner as 'palani' my entire filesystem ( sub directories )
and needs to change the owner ( chown ) to 'raju'.
Can anyone help on this to write a shell script.
Thanks in advance. (3 Replies)
Discussion started by: senthil_is
3 Replies
7. Shell Programming and Scripting
i have a directory in which i have Multiple files:
Following are they====
-rw-r--r-- 1 root root 886 Jan 21 16:38 trunkn.xsd
-rw-r--r-- 1 root root 244 Jan 21 16:38 trunknameCache.xml
-rw-r--r-- 1 root root 1240 Jan 21 16:38 subscribercache.xsd
-rw-r--r-- 1 root ... (1 Reply)
Discussion started by: Aditya.Gurgaon
1 Replies
8. UNIX for Advanced & Expert Users
Folks,
I have a problem with a particular file, that seems to have some kind of lock on it, that takes around 1 hour approx to timeout. I have used lsof and nothing has an open file handle on it, yet I cannot open it. My user/group owns the file and I can create edit/delete files in... (6 Replies)
Discussion started by: scottrus
6 Replies
9. Shell Programming and Scripting
Hi,
I have several directories under an upload directory where differnt users upload their files (with exxactly the same file name every week) using their own user ids.
There is a requirement that once any user uploads the file I have to clean that file and remove extra whitespaces and... (3 Replies)
Discussion started by: vbhonde11
3 Replies
10. UNIX for Dummies Questions & Answers
I want to change the ownership of a directory ONLY.
my id
id1 owns the files under the /mypath/bin
but /mypath/bin is owned by id2
If i log into id2
I can't do
chown id1 /mypath/bin (1 Reply)
Discussion started by: klarue
1 Replies
LEARN ABOUT HPUX
xtloseselea
XtLoseSelectionIncrProc() XtLoseSelectionIncrProc()
Name
XtLoseSelectionIncrProc - interface definition for a procedure called when the selection owner loses ownership.
Synopsis
typedef void (*XtLoseSelectionIncrProc)(Widget, Atom*, XtPointer);
Widget w;
Atom *selection;
XtPointer client_data;
Inputs
w Specifies the widget that has lost the selection ownership.
selection Specifies the atom that names the selection.
client_data
Specifies the value passed in by the widget when it took ownership of the selection.
Availability
Release 4 and later.
Description
An XtLoseSelectionIncrProc is optionally registered in a call to XtOwnSelectionIncremental(), and is called by the Intrinsics to inform the
selection owner that the selection has been claimed by another widget or another client. This procedure is not called if the selection
owner relinquishes selection ownership by calling XtDisownSelection(). It should do whatever is appropriate for the widget or application
upon losing the ownership of the selection.
Note that this procedure is not a request to the widget to relinquish selection ownership; it is called after the widget has already lost
the selection.
Usage
Most selection owners will want to display selected data specially highlighted, and so will need to be informed when they lose the selec-
tion so that they can unhighlight that data.
An XtLoseSelectionIncrProc is used in the Intrinsics incremental selection transfer mechanism. An XtLoseSelectionProc is a similar proce-
dure used by the more convenient atomic transfer mechanism. An XtLoseSelectionProc does not have a client_data argument.
See Also
XtGetSelectionValueIncremental(1), XtGetSelectionValuesIncremental(1), XtOwnSelectionIncremental(1),
XtCancelConvertSelectionProc(2), XtConvertSelectionIncrProc(2), XtLoseSelectionProc(2), XtSelectionDoneIncrProc(2).
Xt - Selections XtLoseSelectionIncrProc()