No. In UNIX you can set for each file the owner, the group and the permissions. You can't set per-user or per-group permissions using default tools.
What you'll probably want is this:
Every time I copy files to a directory I am unable to edit the files. Why? The user is part of the group that has permissions to edit. The user can create and delete files but cannot edit files that are copied to the directory? :confused: (3 Replies)
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
Hi all,
My UNIX box is HP UX - 11.11.
I have got a basic doubt. What are the global permissions for a file and directory?
I set the mask as 111 in my .profile. When I create a new file, it gets created withe -rw-rw-rw- permissions. A directory is created with drw-rw-rw- permissions. So, i... (7 Replies)
Hello.
I have written a bash script that I am sharing with an OS X community I am a member of. The purpose of the script is to execute a series of commands for members without them having to get involved with Terminal, as it can be daunting for those with no experience of it at all. I have renamed... (4 Replies)
I am running a linux centos server; our php script generates plenty of files in a directory, anything up to 1000 (though too often more).The files in these directories have permissions and ownerships which i need to change.
I have used shell comment for changing the file permission which is... (1 Reply)
There is the following file in my filesystem (VXFS) shown by "ls -l" command:
---s--l--- 1 user group 0 Mar 26 16:13 file.tmp
What does "l" bit mean in these permissions?
This is SunOS 5.10:
$ uname -a
SunOS hostname 5.10 Generic_144488-03 sun4u sparc SUNW,SPARC-Enterprise
... (2 Replies)
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Hi,
I have used expdp for datapump. The .dmp file is created by the "oracle" user.
my requirement is to make a zipped file of this .dmp file.
What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies
LEARN ABOUT DEBIAN
dspam_clean
dspam_clean(1) DSPAM dspam_clean(1)NAME
dspam_clean - perform periodic maintenance of metadata
SYNOPSIS
dspam_clean [--profile=PROFILE] [-s[signature_life]] [-p[probability_life]] [-u[sl,hcl,shl,ihl]] [user1 user2 ... userN]
DESCRIPTION
dspam_clean is used to perform periodic housecleaning on DSPAM's metadata dictionary by deleting old or useless data.
OPTIONS --profile=PROFILE
Specify a storage profile from dspam.conf. The storage profile selected will be used for all database connectivity. See dspam.conf
for more information.
-s Performs stale signature purging. If a value is specified, the default value of 14 days will be overridden. Specifying an age of 0
will delete all signatures from the user(s) processed.
-p Deletes all tokens from the target user(s) database whose probability is between 0.35 and 0.65 (fairly neutral, useless data). If a
value is specified, the default life of 30 days will be overridden. It's a good idea to use this flag once with a life of 0 days for
users after a significant amount of corpus training.
-u Deletes all unused tokens from a user's dataset. Four different life values are used:
sl Stale tokens which have not been used for a long period of time
hcl Tokens with a total hit count below 5 (which will be assigned a hapaxial value by DSPAM)
shl Tokens witha single spam hit
ihl Tokens with a single innocent hit
Ages may be overridden by specifying a format string, such as -u30,15,10,10 where each number represents the respective life. Speci-
fying a life of zero will delete all unused tokens in the category.
user1 user2 ... userN
Specify the username(s) to perform the selected maintenance operations on. If no username is specified, all users are processed.
EXIT VALUE
0 Operation was successful.
other Operation resulted in an error.
COPYRIGHT
Copyright (C) 2002-2011 DSPAM Project
All rights reserved.
For more information, see http://dspam.sourceforge.net.
SEE ALSO dspam(1), dspam_admin(1), dspam_crc(1), dspam_dump(1), dspam_logrotate(1), dspam_merge(1), dspam_stats(1), dspam_train(1)DSPAM Apr 17, 2010 dspam_clean(1)