03-18-2009
Note that if the file is being accessed via nfs or smb from another machine, that the fuser command may not show the user, as it looks for processes on the local machine that have the file handle open.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ..
I am trying to deleta a file but i cant do the error i get is
rm: hs_pdref_custom_dict_PG1_out_76_out non-existent
but when i do ls it is listing the in the directory ...
please find the filed below....
-rw-r----- 1 tsta107 users 118011030 Dec 1 04:07... (13 Replies)
Discussion started by: arunkumar_mca
13 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
We are running Oracle 8.1.7 on HP-UX B.11.00. Recently we have upgraded Oracle from 8.0.6. to 8.1.7. Almost all the shell script we use has the Sqlplus as sqlplus -s @/apps/prod/sql/xxxx.sql > /apps/prod/log/xxxx.out .
However we receive the error
SP2-0310: unable to open file... (2 Replies)
Discussion started by: guru_2007
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I am running Oracle 8.1.7 on HP-UX B.11.00. Recently I have upgraded Oracle from 8.0.6. to 8.1.7. Almost all the shell script has the Sqlplus as sqlplus -s @/apps/prod/sql/xxxx.sql > /apps/prod/log/xxxx.out .
However I receive the error
SP2-0310: unable to open file... (2 Replies)
Discussion started by: Ananth.p
2 Replies
4. Solaris
am unable to open a .log file which is 4MB size. (18 Replies)
Discussion started by: venkatramana
18 Replies
5. Windows & DOS: Issues & Discussions
We have AIX box with a share.
We have a Windows 2000 server with a mapped drive to this share.
We were able to create and delete files inside the mapped drive.
I removed the map. Changed it to a test share. Removed that map. Added it back to teh original share.
However, now we can... (3 Replies)
Discussion started by: mcubitt
3 Replies
6. UNIX for Dummies Questions & Answers
hi,
I have a little problem. I deleted a file, which was opened in vim editor. it was bad idea... now "df" still display same space.
I kill process vim, but maybe file was controlled or opened by another application.
Is any eventuallity to find which process has lock file?
Command "ps -ax"... (2 Replies)
Discussion started by: delonism
2 Replies
7. Shell Programming and Scripting
Hi,
I was compiling few C programs in the unix server and getting the following error message
rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent
proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE
INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARY/INCLUDE ... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies
8. Red Hat
Hi,
I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5,
example
vi test
it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies
9. Shell Programming and Scripting
Not able to open a file using this code
why not?
use strict;
use warnings;
my $file = "verInfo.txt";
unless(open FILE, $file) {
# Die with error message
# if we can't open it.
die "\nUnable to open $file\n";
}
my $line = <FILE>;
print $line;
close FILE; (7 Replies)
Discussion started by: srijith
7 Replies
10. UNIX for Beginners Questions & Answers
Hi,
Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart
Here am trying to include /tmp/swappart file from pre section under disks and partition section. Dont know where exactly am doing wrong
My kickstart file... (3 Replies)
Discussion started by: Sumanthsv
3 Replies
LEARN ABOUT HPUX
fsetaclentr
setaclentry(3C) setaclentry(3C)
NAME
setaclentry(), fsetaclentry() - add, modify, or delete one entry in file's access control list (ACL) (HFS File Systems only)
SYNOPSIS
DESCRIPTION
Both forms of this call add, modify, or delete one entry in a file's access control list (ACL). and take a path name (path) or open file
descriptor (fd) and an entry identifier (uid, gid). They change the indicated entry's access mode bits to the given value (mode), meanings
of which are defined in modes are represented as and Irrelevant bits in mode values must be zero.
If the file's ACL does not have an entry for the given uid and gid, the entry is created and added to the ACL. If mode is (defined in the
matching entry is deleted from the file's ACL if it is an optional entry, or its mode bits are set to zero (no access) if it is a base
entry.
uid or gid can be or (defined in respectively, to represent non-specific entries or The file's or base entries can be referred to using or
(defined in for the file's owner or group ID, respectively.
and read the file's ACL with or and modify it with or respectively.
RETURN VALUE
If successful, and return zero.
ERRORS
If an error occurs, and return the following negative values and set
-1 Unable to perform or on the file. indicates the cause.
-2 Unable to perform or on the file. indicates the cause.
-3 Cannot add a new entry because the ACL already has (defined in entries.
-4 Cannot delete a nonexisting entry.
-5 Unable to perform or on the file. indicates the cause.
EXAMPLES
The following code fragment adds an entry to file ``work/list'' for user ID 115, group ID 32, or modifies the existing entry for that user
and group, if any, with a new access mode of read only. It also changes the owner base entry to have all access rights, and deletes the
entry, if any, for any user in group 109.
DEPENDENCIES
HFS and are only supported on HFS file system on standard HP-UX operating system.
NFS and are not supported on remote files.
AUTHOR
and were developed by HP.
SEE ALSO
getacl(2), setacl(2), stat(2), acltostr(3C), cpacl(3C), chownacl(3C), strtoacl(3C), acl(5), thread_safety(5).
setaclentry(3C)