03-14-2007
Problem Removing a Directory !!!
Hi All,
When i remove a directory , the following error message comes :
rm: cannot determine if this is an ancestor of the current working directory
Is it something to do with the permissisons ?
The path is /PBAMLftp/incoming/misc/July06 - (where i need to remove the July06 directory)
And the different permissions for the directories are as follows :
drwxrwx--- 9 globus globus 512 Mar 14 11:18 incoming
----------------------------------------------------------------
drwxrwxrwx 4 globus globus 3584 Mar 14 11:18 misc
----------------------------------------------------------------
drwxr-xr-x 2 oraclepbdw dba 2560 Mar 14 11:44 July06
----------------------------------------------------------------
Please advice !!
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
all - I'm trying to delete this directory with no success. This was placed in my folder by a test script I wrote for beginners...
drwxr-xr-x 2 myaddress ssusr 512 Dec 22 16:10 $x+1
Here is the message I receive - I've tried every command possible to remove it:
rmdir:... (7 Replies)
Discussion started by: da_curtain
7 Replies
2. Shell Programming and Scripting
Hi all,
I need your assistance in removing the oldest file in a directory.
I posted the same thread 3 days back and I got the following answer
ls -1 -t | tail -1 | xargs rm
which is not covering the case when there are directories older than the oldest file.
So, could you please... (2 Replies)
Discussion started by: pavan_movva
2 Replies
3. Filesystems, Disks and Memory
How do you remove a file named '-'? ('rm' does not work) (5 Replies)
Discussion started by: npatel
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
How can I removed the directory in the input file?
The script responsible for storing the report in an input file is this:
while }" ]
do
echo "penetration|${penfilename}|${penfilenamedaterange}" >> ${OUT_DIR}/penrpt_emailfile.txt
(( i=i+1 ))
done
For the penfilename:
... (2 Replies)
Discussion started by: chrysSty
2 Replies
5. UNIX for Advanced & Expert Users
i want remove all the files from below directory
Available directory
foa/commprog/data
foa/commprog/a
foa/commprog/b
mfoa/commprog/data
mfoa/commprog/a
mfoa/commprog/c
dfoa/commprog/d
There are more folders like this
i want to remove the the file from only /data
i need only... (3 Replies)
Discussion started by: kingganesh04
3 Replies
6. UNIX for Dummies Questions & Answers
How would i rmeove all the files in the directory but still keep the directory? (5 Replies)
Discussion started by: JamieMurry
5 Replies
7. UNIX for Dummies Questions & Answers
Hi, I'm relatively new to unix, and would like to change the following files in a particular directory. The files have names like:
M10_90_Phcn402_3F.ab1
M10_94_Sput402_3F.ab1
M11_92_Abrg402_3R.ab1
M10_91_Cdel402_3F.ab1
M11_90_Phcn402_3R.ab1
M12_84_Sput402_3R.ab1... (4 Replies)
Discussion started by: euspilapteryx
4 Replies
8. Shell Programming and Scripting
hey there folks! I cant figure out, for the life of me, how to procede in removing alll the files in my home directory that are not owned by me.
would i have to list them, but after that what do i do. or is there some way I am not aware of.
my employer heard i could script in unix, but i havent... (3 Replies)
Discussion started by: Ginkosu
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Disclosure: I am very new to Unix, but eager to learn..
I've been tasked with transferring logs to a remote server. After I've verified these logs have transferred correctly I have to remove the source files. The naming scheme is:
/directory/2012.05.01
/directory/2012.05.02
..and... (1 Reply)
Discussion started by: JD3V
1 Replies
10. UNIX for Dummies Questions & Answers
I know that this basic question has been asked many times and solutions all over the internet, but none of the are working for me. I have a directory in the root directory, named "-p".
# ls -l /
total 198
<snip>
drwxr-xr-x 4 root root 4096 Dec 3 14:18 opt
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: edstevens
2 Replies
LEARN ABOUT MOJAVE
qmail-queue
qmail-queue(8) System Manager's Manual qmail-queue(8)
NAME
qmail-queue - queue a mail message for delivery
SYNOPSIS
qmail-queue
DESCRIPTION
qmail-queue reads a mail message from descriptor 0. It then reads envelope information from descriptor 1. It places the message into the
outgoing queue for future delivery by qmail-send.
The envelope information is an envelope sender address followed by a list of envelope recipient addresses. The sender address is preceded
by the letter F and terminated by a 0 byte. Each recipient address is preceded by the letter T and terminated by a 0 byte. The list of
recipient addresses is terminated by an extra 0 byte. If qmail-queue sees end-of-file before the extra 0 byte, it aborts without placing
the message into the queue.
Every envelope recipient address should contain a username, an @ sign, and a fully qualified domain name.
qmail-queue always adds a Received line to the top of the message. Other than this, qmail-queue does not inspect the message and does not
enforce any restrictions on its contents. However, the recipients probably expect to see a proper header, as described in qmail-header(5).
Programs included with qmail which invoke qmail-queue will invoke the contents of $QMAILQUEUE instead, if that environment variable is set.
FILESYSTEM RESTRICTIONS
qmail-queue imposes two constraints on the queue structure: each mess subdirectory must be in the same filesystem as the pid directory; and
each todo subdirectory must be in the same filesystem as the intd directory.
EXIT CODES
qmail-queue does not print diagnostics. It exits 0 if it has successfully queued the message. It exits between 1 and 99 if it has failed
to queue the message.
All qmail-queue error codes between 11 and 40 indicate permanent errors:
11 Address too long.
31 Mail server permanently refuses to send the message to any recipients. (Not used by qmail-queue, but can be used by programs offering
the same interface.)
All other qmail-queue error codes indicate temporary errors:
51 Out of memory.
52 Timeout.
53 Write error; e.g., disk full.
54 Unable to read the message or envelope.
55 Unable to read a configuration file. (Not used by qmail-queue.)
56 Problem making a network connection from this host. (Not used by qmail-queue.)
61 Problem with the qmail home directory.
62 Problem with the queue directory.
63 Problem with queue/pid.
64 Problem with queue/mess.
65 Problem with queue/intd.
66 Problem with queue/todo.
71 Mail server temporarily refuses to send the message to any recipients. (Not used by qmail-queue.)
72 Connection to mail server timed out. (Not used by qmail-queue.)
73 Connection to mail server rejected. (Not used by qmail-queue.)
74 Connection to mail server succeeded, but communication failed. (Not used by qmail-queue.)
81 Internal bug; e.g., segmentation fault.
91 Envelope format error.
SEE ALSO
addresses(5), envelopes(5), qmail-header(5), qmail-inject(8), qmail-qmqpc(8), qmail-send(8), qmail-smtpd(8)
qmail-queue(8)