Hi,
I don't know how the owner & group of a login file in redhat linux 7.2 changed to bache like,
-rwxr-xr-x 1 bache bache 17740 Jun 20 02:05 login
I am trying to change the owner and group to root by using
#chown root login
#chgrp root login
But i am getting the error ... (7 Replies)
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)
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... (8 Replies)
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)
Hi Folks,
I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error.
For example, when I am logged in as 'webadmin', I have the following file:
... (4 Replies)
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)
How to change the owner ship of the soft link
lrwxrwxrwx 1 root root 4 Jun 29 16:27 soft_test -> test
I need to change the above owner ship to httpd:httpd
Whats the shell command i need to use for it :) (2 Replies)
What i did:
- logged in with acc1 and created a new user acc2
commands used: useradd and passwd.
- Then i logged in acc2. but all the files are owned by acc1.
Issue: I try to change the owner of the files using chown command . But it gives me a error message.
All i want to do is... (13 Replies)
i need to do the following operations in solaris 10:
1.change owner and group owner for files which are not owned by the current user and user group
2.to can delete files in the /tmp directory which are not of the current user
3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies
LEARN ABOUT ULTRIX
xtdisownselection
XtOwnSelection(3Xt) MIT X11R4 XtOwnSelection(3Xt)Name
XtOwnSelection, XtDisownSelection - set selection owner
Syntax
Boolean XtOwnSelection(w, selection, time, convert_proc, lose_selection, done_proc)
Widget w;
Atom selection;
Time time;
XtConvertSelectionProc convert_proc;
XtLoseSelectionProc lose_selection;
XtSelectionDoneProc done_proc;
void XtDisownSelection(w, selection, time)
Widget w;
Atom selection;
Time time;
Arguments
convert_proc
Specifies the procedure that is to be called whenever someone requests the current value of the selection.
done_proc Specifies the procedure that is called after the requestor has received the selection or NULL if the owner is not interested in
being called back.
lose_selection
Specifies the procedure that is to be called whenever the widget has lost selection ownership or NULL if the owner is not inter-
ested in being called back.
selection Specifies an atom that describes the type of the selection (for example, or
time Specifies the timestamp that indicates when the selection ownership should commence or is to be relinquished.
w Specifies the widget that wishes to become the owner or to relinquish ownership.
Description
The function informs the Intrinsics selection mechanism that a widget believes it owns a selection. It returns if the widget has success-
fully become the owner and otherwise. The widget may fail to become the owner if some other widget has asserted ownership at a time later
than this widget. Note that widgets can lose selection ownership either because someone else asserted later ownership of the selection or
because the widget voluntarily gave up ownership of the selection. Also note that the lose_selection procedure is not called if the widget
fails to obtain selection ownership in the first place.
The function informs the Intrinsics selection mechanism that the specified widget is to lose ownership of the selection. If the widget
does not currently own the selection either because it lost the selection or because it never had the selection to begin with, does noth-
ing.
After a widget has called its convert procedure is not called even if a request arrives later with a timestamp during the period that this
widget owned the selection. However, its done procedure will be called if a conversion that started before the call to finishes after the
call to
See AlsoXtAppGetSelectionTimeout(3Xt), XtGetSelectionValue(3Xt)
X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XtOwnSelection(3Xt)