08-12-2015
What does ls -l show for one of these files? They are regular files, correct?
10 More Discussions You Might Find Interesting
1. AIX
Hi,
From some time, we have noticed that our ascii files have started corrupting due to the presence of some random control characters (^@, ^M, ^H, ^D). The characters appear randomly on any file after the process that creates the file finishes. If we rerun the process, the files re creates... (0 Replies)
Discussion started by: aakashahuja
0 Replies
2. Solaris
First I have to admit that I am not an unix expert, but I do know some basic things about the file systems.
Anywho, one of my users' File Manager is not showing up as it normally does upon login. When I run a "ps -ea" I see "dtfile" in the list, but it does not show up. It's not in any of the... (0 Replies)
Discussion started by: tdpearson
0 Replies
3. Solaris
Hi friends..
Here is my problem..
I mounted a slice and make it permanent through entering the information in /etc/vfstab file ,,,but when i give df -kh ,,in the output the slice information is not appearing..but i can be able to open the mount point and access files as usual..I didn't give... (6 Replies)
Discussion started by: sdspawankumar
6 Replies
4. UNIX for Dummies Questions & Answers
I hope this question isn't too vague...
i recently switched from RedHat to Solaris 10, and found that the parts of a script that copy files between directories no longer work because escape sequences are appearing at the start and end of the filenames being read
#!/usr/bin/bash
cd... (1 Reply)
Discussion started by: jwm-wm
1 Replies
5. Cybersecurity
Hi everyone,
really strange files keep appearing in my home directory. I have absolutely no idea where they come from and I'm a little concerned that they could come from some kind of malware activity or Firefox exploit. I searched Google for parts of the file names but without a result. The... (6 Replies)
Discussion started by: schallstrom
6 Replies
6. AIX
Hello.
I have got 3 unix boxes A B C. Box A is being used to prepare some reports. After the reports generation, Box A sftp the reports to Box B and Box C. When I look at the report in Box B and Box C. The reports are different. In Box B, I see using od -x command there is CRLF (\r\n) at the end... (7 Replies)
Discussion started by: panchpan
7 Replies
7. Shell Programming and Scripting
Is there a way in a shell script to make an user input appears as * (like a password) ?? (2 Replies)
Discussion started by: ce9888
2 Replies
8. Shell Programming and Scripting
I am having trouble finding the process, or subsystem, sendmail running on our client's server. They are runnning AIX version 5.3.9.0. When I run "ps -ef | grep sendmail" I only get my current ps process as a match. Running "ps -ef | more" and wading through the results also does not show sendmail... (2 Replies)
Discussion started by: moviedude
2 Replies
9. AIX
Hi everyone,
this strange error suddenly popped up out of no where
when I do a directory listing , the date part doesn't appear
root@oradb:/backup>ls -la
total 58069304
drwxr-xr-x 3 root system 4096 23 ▒▒▒ 21:56 .
drwxr-xr-x 44 root system 1536 23 ▒▒▒ 21:47... (4 Replies)
Discussion started by: filosophizer
4 Replies
10. Linux
hi i know this is irrelevant to the question above but i was wondering how to pt a restriction in the filename in linux. I want that it is impossible to add numbers into the filename, help will be rely great , thanx!
This posting was initially given as a reply to an unrelated thread. It has been... (2 Replies)
Discussion started by: samirboss
2 Replies
LEARN ABOUT MOJAVE
setfiles
setfiles(8) setfiles(8)
NAME
setfiles - set file SELinux security contexts.
SYNOPSIS
setfiles [-c policy ] [-d] [-l] [-n] [-e directory ] [-o filename ] [-q] [-s] [-v] [-vv|-p] [-W] [-F] spec_file pathname...
DESCRIPTION
This manual page describes the setfiles program.
This program is primarily used to initialize the security context database (extended attributes) on one or more filesystems. This program
is initially run as part of the SE Linux installation process.
It can also be run at any time to correct errors, to add support for new policy, or with the -n option it can just check whether the file
contexts are all as you expect.
It is the same executable as setfiles but operates in a slightly different manner depending on it's argv[0].
OPTIONS
-c check the validity of the contexts against the specified binary policy.
-d show what specification matched each file.
-l log changes in file labels to syslog.
-n don't change any file labels.
-p show progress by printing * every 1000 files.
-q suppress non-error output.
-r rootpath
use an alternate root path
-e directory
directory to exclude (repeat option for more than one directory.)
-F Force reset of context to match file_context for customizable files
-o filename
save list of files with incorrect context in filename.
-s take a list of files from standard input instead of using a pathname on the command line.
-v show changes in file labels, if type or role are changing.
-vv show changes in file labels, if type, role, or user are changing.
-p show a progress indication in the form of one dot per 1000 files.
-W display warnings about entries that had no matching files.
-0 Input items are terminated by a null character instead of by whitespace, and the quotes and backslash are not special (every char-
acter is taken literally). Disables the end of file string, which is treated like any other argument. Useful when input items
might contain white space, quote marks, or backslashes.The GNU find -print0 option produces input suitable for this mode.
ARGUMENTS
spec_file The specification file which contains lines of the following form
regexp [ -type ] ( context | <<none>> )
The regular expression is anchored at both ends. The optional type field specifies the file type as shown in the mode field by the ls(1)
program, e.g. -- to match only regular files or -d to match only directories. The context can be an ordinary security context or the
string <<none>> to specify that the file is not to have its context changed.
The last matching specification is used. If there are multiple hard links to a file that match different specifications and those specifi-
cations indicate different security contexts, then a warning is displayed but the file is still labeled based on the last matching specifi-
cation other than <<none>>.
pathname...
The pathname for the root directory of each file system to be relabeled. Not used if the -s option is used.
AUTHOR
This man page was written by Russell Coker <russell@coker.com.au>. The program was written by Stephen Smalley <sds@epoch.ncsc.mil>
SEE ALSO
load_policy(8), checkpolicy(8)
2002031409 setfiles(8)