Displaying 20 results from an estimated 4000 matches similar to: "rm user:group"
2008 Jun 09
4
Copying files from specific date.
Dear all,
Does anyone aware of any utility to copy files which are created or modify form a specific date ?.
Thanks
Rajeev R. Veedu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080609/ae761b2c/attachment-0002.html>
2009 Oct 05
2
gnu --target-dir, how to fake with rsync?
Is this in rsync and I just can't find it, or if not, is there a way
to fake this OR, third possibility, is anyone working to add it?
For those who've never used this option - for the GNU cp & mv type
commands they have the
--target-dir="dir"
option. It lets you put the destination directory as the first
argument to cp and mv instead of the last argument.
They added the
2006 Jun 22
9
OT -- BASH
Can someone explain why this:
find . -depth -print0 | cpio --null -pmd /tmp/test
will copy all files in and below the current directory -and- this:
find . -depth -print | grep -v .iso$ | wc -l
will count all the non-iso files -and- this:
find . -depth -print | grep .iso$ | wc -l
will count *only* the iso files -but- this:
find . -depth -print0 | grep -v .iso$ | cpio --null -pmd /tmp/test
2009 Aug 19
2
replacing permissions on uploaded windows files
Hello,
I've got a CentOS box and users are putting Windows long files on
it, files with " " and " - " in their filenames. I'm trying to adjust the
permissions as well as user and group membership and i'd like the changes to
be sticky. On the tld i've set permissions of 2755 and am trying to batch
convert the files and subfolders in it. I've done this:
find
2011 Feb 24
4
ls returns file doesn't exist, find finds it??
Howdy,
I am getting some errors with find and ls command - such that find is
able to see a file whereas ls says the file doesn't exist. Initially I
was trying find and ls together as:
# find ./ -type f -mtime +15 | xargs ls
Similar behavior is seen even when I execute both commands separately.
Any thoughts on what might be wrong here?
--
thanks,
neubyr
2006 Jan 13
2
"find" statement: 64bit related??
hi!
3 machines all run this same test script. 2 -i386, 1 x-64bit machine.
this line:
if find / -mount -type f -mtime -1 -print0 | xargs -0 clamscan -l \
$CLAMDAILY $CLAMEXCLUDES -r --no-summary | cut -d: -f1 > $CHANGEDLOG; \
then
the $CHANGEDLOG file... on the 32 bit boxes...oh, probably 220 files. On
the 64bit box 177,999 files lol (Centos 64bit w/everything installed)!
it seems to me
2011 Apr 02
3
Trouble with 2.0.11 debian package
I wonder if somebody could help me.
If I try clean install of
dovecot-common dovecot-imapd dovecot-pop3d
from
deb http://xi.rename-it.nl/debian stable-auto/dovecot-2.0 main
I got:
Starting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in
configuration file /etc/dovecot/dovecot.conf:
service(managesieve-login): executable is empty
failed!
Setting up dovecot-imapd
2007 Mar 23
2
Command not running in crontab
Hi,
Can anoyone tell me why this command is not executed (or it is without
success) from crontab, but works perfectly from the command line ?
(yes, i've restarted crontab service)
# clean up postmaster
00 30 * * * root /usr/bin/find
/var/qmail/maildirs/postmaster at telbit.pt/Maildir/new -type f -print0 |
xargs -0 -n 50 rm
The mind boggles...
Any help would be appreciated.
Warm
2008 Dec 28
3
Sendmail problem
I wish to add options to sendmail
INPUT_MAIL_FILTER(`spamassassin',
`S=local:/var/run/spamass-milter/spamass-milter.sock, F=T,
T=C:5m;S:4m;R:4m;E:5m')dnl
dnl MAILER(cyrusv2)dnl
INPUT_MAIL_FILTER(`greylist',
`S=local:/var/run/milter-greylist/milter-greylist.sock')
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify},
2015 Mar 20
1
Centos 6: setfacl: .: Argument list too long
On 20.03.2015 02:14, muiz wrote:
> Dear all,
>
>
> I have a Centos 6 (64bit) server used for samba and ACL control.
> There has a folder which a lot of user can access, when I add a new user's ACL, but failed, do you know how to resolve this problem?
use xargs like in:
|find . -name "*.pdf" -print0 | xargs -0 RUNACOMMAND
robert
|
>
>
> [root at s1
2008 Oct 17
7
ls and rm: "argument list too long"
Since when is there a limit in how long directory listings CentOS can show
(ls), or how large directories can be removed (rm). It is really annoying to
say, for example
rm -rf /var/amavis/tmp
and get only "argument list too long" as feedback.
Is there a way to go round this problem?
I have CentOS 5.2.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki *
2014 Feb 11
2
Public folder doesn't work
Hey,
I have some issues with dovecot, because the public folder won't show up in
Mail accounts.
Dovecot is installed via zentyal 3.3.
I tried several settings, but I dont get it running.
What I tried is adding this to my dovecot.conf file
# User's private mail location
mail_location = maildir:~/Maildir
# When creating any namespaces, you must also have a private namespace:
namespace {
2007 Nov 20
2
manipulating files and directories with spaces
Hi,
This might be a little O.t. so private responses please.
I've got apache and samba running on a CentOS5 box enabling windows
users to add web content. My issue is i've had to restore some backup data
that was previously archived. The permissions aren't matching up so i'm
wanting to use find and xargs to change them appropriately. Normally i do:
find . -type type
2018 Apr 06
2
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote:
>
> > By default, step 4 takes forever to run on large datasets because it
> > uses named entities. My ultimate plan was to use the numeric
> > user/group id's in that step instead of named ones so the Winbind cost
> > is not incurred. Seems for the whole process, the calls to Winbind to
> >
2010 Feb 04
3
[PATCH] Make configure_from_network function check if network is up, before touching it
This patch adds a safety verification to configure_from_network function, where network configuration will not be performed if it is already up and running, preventing lost of communication for connections already established.
Signed-off-by: Ricardo Marin Matinata <matinata at br.ibm.com>
---
scripts/ovirt-early | 9 ++++++---
scripts/ovirt-functions | 7 +++++++
2 files changed,
2006 Aug 22
1
rsync performance
We're using rsync 2.6.3 to sync two DELL PowerEdge servers with both
Redhat-EL4 and otherwise nearly identical hardware (2.8/3GHz, 1GB RAM
each). The source machine has a SCSI-RAID1, the destination a
SATA-RAID1 disk attached.
There are 5 filesystems which are rsynced via ssh. On the smaller
filesystems with ~200.000 files/7GB, rsync takes 1-3 minutes:
lion:/atg/ ========= Tue Aug 22
2006 Mar 20
5
Numbered Voicemails even with delete option!
Hello,
Thought people might be interested in this.
I want my voicemails emailed to a person and not stored on my asterisk
server. However, I want them to have a sequential number. I found that
if I set the option delete=1 in my voicemail.conf file for the mailbox,
then the numbering would keep being restarted.
I wrote this shell script to fool Asterisk into numbering my voicemails
sequentially
2015 Feb 04
3
Resubmission after N days
Am 04.02.2015 um 07:49 schrieb Steffen Kaiser:
> On Wed, 4 Feb 2015, Thomas G?ttler wrote:
>
>> I would like to implement a 43Folder system[1] with dovecot and a mail user agent.
>
>> Use case:
>
>> - I have a new mail in my inbox. I read it and see that I can't handle it now. I want to handle this mail in 5 days.
>> - Now I want to have some sort of
2015 Feb 04
8
Resubmission after N days
Hi,
I would like to implement a 43Folder system[1] with dovecot and a mail user agent.
Use case:
- I have a new mail in my inbox. I read it and see that I can't handle it now. I want to handle this mail in 5 days.
- Now I want to have some sort of resubmission: the mail should be moved to a different location for these 5 days.
- After 5 days the mail should be moved to my inbox again.
How
2011 Aug 03
1
PDC forgot it was part of domain... "official" (ha!) samba hack around to fix...
Among various problems since I upgraded to 3.6 (none of which got answered
really, -- so I backgraded to 3.5.10 and started debugging from there,
considering 3.6.0 too unstable/too incompatible for 'whatever' reason...
One of the probs I had was 'root' couldn't use "net rpc" <anything> --
kept getting auth failures.
Wasn't the passwd, -- could reset it via