02-04-2010
Quote:
Originally Posted by
aneuryzma
I'm working on Drupal and I need to assign the ownership of some folders to Drupal.
(Owner: _www)
There are two ways to solve that (without bothering the server admin):
1) get a web script (like
webadmin.php or make your own) that you can use to upload files with.
-OR- (the better/easier solution)
2) chmod 666 file
Quote:
Originally Posted by
aneuryzma
After I copied them to the server the ownership changed.
FTP, as with most other means of file transfer, doesn't preserve unix-style ownership information.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am wondering if anyone knows a place where a person can download a command for the HP-UX 9.04 OS. The machine is just sitting around, and is not being used due to the fact that it is not Y2K compliant (or so the rumor goes). The command that does not exist is "reboot", which normally resides... (6 Replies)
Discussion started by: thekid
6 Replies
2. UNIX for Advanced & Expert Users
On a 2.6.21 kernel (MontaVista, x86_pentium4), I'm failing to see expected "core.pid" files dropped.
Consider this tiny program, "dumpcore.c":
#include <stdio.h>
#include <stdlib.h>
#include <sys/prctl.h>
int main( int argc, char ** argv )
{
printf("dumpable = %d\n", prctl(... (5 Replies)
Discussion started by: kclittle
5 Replies
3. AIX
Hi,
I have recently started to patch all my AIX boxes.
I have applied almost 28 interim fixes on those.
i have the snaps of emgr -l out put showing all tha patch details and date on
which those we applied.
but after reboot, emgr -l comannd says "There is no efix data on this... (0 Replies)
Discussion started by: sandeepbodkhe
0 Replies
4. UNIX for Advanced & Expert Users
Hello - I am FTPing file from remote unix box to my unix box.
I am FTPing file around 2AM. some time, the complete fle is not ftping.. I am missing data in the FTP file. It happens few times in a month. Whenever, i miss the data, the file size is always 60106. The actual file size is not that... (4 Replies)
Discussion started by: govindts
4 Replies
5. AIX
Please anyone tell me "What is the command to view missing filesets in aix"
Thanks in advance
---------- Post updated at 09:34 PM ---------- Previous update was at 05:09 PM ----------
Please anyone tell me "What is the command to view missing filesets in aix"
Thanks in advance (3 Replies)
Discussion started by: sweetysiva29
3 Replies
6. Shell Programming and Scripting
I'm using getopts to process command line args in a Bash script. The code looks like this:
while getopts ":cfmvhs:t:" option; do
case $option in
c) operationMode="CHECK"
;;
f) operationMode="FAST"
;;
m) ... (6 Replies)
Discussion started by: gencon
6 Replies
7. Shell Programming and Scripting
I have a file that I need to find each interface that has move-group on the interface line and print this line if the lines under the interface does Not have "filter-shared 14".
Example file:
interface 1/1/1/0 move-group
decription one one one zero
no shut
filter-shared 14... (21 Replies)
Discussion started by: numele
21 Replies
8. UNIX for Dummies Questions & Answers
I was asked if I can create an FTP only user on a UNIX system I've inherited at work. (Solaris).
I've worked on UNIX systems for a long time, but never really as an admin.
I searched the web, and on this forum, for information on exactly how to do this.
(The new user will also need to be... (4 Replies)
Discussion started by: HeyMoe
4 Replies
9. Shell Programming and Scripting
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
10. AIX
Hi,
Need a command to find out Missing operating system patches for AIX 7.1 or a command to list down all installed patches. (1 Reply)
Discussion started by: Mona Khandelwal
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()