06-16-2005
owner and root can change the ownership.
Possible causes would be cronjobs of both. Especially houseclean cronjob.
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
hi
currently i am migrating some directories over to a new server. is there any command (rcp or ftp or anything) for me to use without changing the ownership and permission of the directory?
i am copying some directories from unix machine to linux machine. what is the exact command?
thanks... (2 Replies)
Discussion started by: legato
2 Replies
3. UNIX for Advanced & Expert Users
Hi
I need to find all the log files under the root directory and delete them if necessary, if any one has a sample script who can share with me.
Thanks (2 Replies)
Discussion started by: gkrishnag
2 Replies
4. AIX
I want to serch for a string in all the files in the root directory. i want the search to be limited to only the files in the directory i.e the search to be done only in the files not in the sub directory.
the approaches tried are
1)grep "pattern string"
this command was serching the... (3 Replies)
Discussion started by: Subbu_Angeline
3 Replies
5. UNIX for Dummies Questions & Answers
i'm playing around with "ls" and "find" and am trying to get a print out of directories, with full path, (recursive) and their ownership.... without files or package contents (Mac .pkg or .mpkg files). I'd like it simply displayed without much/any extraneous info.
everything i've tried, and... (5 Replies)
Discussion started by: alternapop
5 Replies
6. UNIX for Dummies Questions & Answers
When I checked to see who or what owns the files in my bin directory I noticed that some were owned by root while many others were owned by bin.
Should I be concerned that there are files in this directory owned by bin or is bin the same as root as it pertains to limiting access to the files in... (3 Replies)
Discussion started by: j490428
3 Replies
7. 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
8. Shell Programming and Scripting
accidentally i have changed ownership of a directory,subdirectory and files wil below command. I want to the change ownership back as same as in same directory on another server. How can i do it?
chown -R user:group /u01
is there any simple script? it is really an urgent need.. (2 Replies)
Discussion started by: johnveslin
2 Replies
9. Solaris
Hi ,
on my Solaris 10 machine user's home directory ownership is being changed automatically to their UID. can any one please tell me whats the reason behind it .
users are there in /etc/passwd file . /etc/shadow file is also there along with nssswitch.conf file and there is no changes made to... (5 Replies)
Discussion started by: usernew
5 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 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 Also
XtAppGetSelectionTimeout(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)