02-26-2006
unable to delete file for permission problem
Hi,
We are facing problem to delete some logfiles. Explaing with example for clear understanding :
we have 2 accounts : prdpqrs (application account) & prodxyz (admin account - not root). Both of them are in same group called 'release'
While prodxyz is trying to remove a file owned by prdpqrs with permission 666 it's failing with the following error :
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log/sos/discard> ls -ltr
total 0
-rw-rw-rw-+ 1 prdpqrs release 0 Feb 26 13:13 xx
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log/sos/discard> rm xx
xx: 666+ mode ? (y/n) y
rm: xx not removed. Permission denied
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log/sos/discard> cd ..
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log/sos>ls -l
drwxrwxrwx+ 2 prdpqrs release 96 Feb 26 18:36 discard
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log/sos>cd ..
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log>ls -l
drwxrwxrwx+ 8 prodxyz release 8192 Feb 17 23:04 sos
/abc_serial/xyz/data/abc/admin/abc_rts_loaders/log>cd ..
/abc_serial/xyz/data/abc/admin/abc_rts_loaders> ls -l
total 256
drwxrws--- 32 prodxyz release 65536 Feb 20 07:33 error
drwxrwsrwx+ 39 prodxyz release 65536 Feb 20 07:42 log
drwxrws--- 2 prodxyz release 96 Aug 22 2003 reports
drwxrws--- 2 prodxyz release 96 Aug 22 2003 summary
/abc_serial/xyz/data/abc/admin/abc_rts_loaders>ls -l
drwxr-s---+ 6 prodxyz release 96 Aug 22 2003 abc_rts_loaders
Could you please advise how to delete those files owned by prdpqrs ?
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. Solaris
Hi Expert,
Could you tell me what is the meaning of " + " as shown below:
drwxr-xrwx+ /opt
Thanks. (2 Replies)
Discussion started by: skully
2 Replies
3. UNIX for Dummies Questions & Answers
Hello
I have situation where with my user id (group x) I am able to view a file. However if su to another user (different group) I am not able to view. I get permission denied. The file has complete wide open permissions -rwxrwxrwx and I can also cd from root to the directory in which the file... (3 Replies)
Discussion started by: akumargolf2000
3 Replies
4. 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
5. UNIX for Advanced & Expert Users
I am working on a unix server.
I killed all the processes with my id on the machine.
After that I tried to delete a file, I got an error:-
file not removed.Text File busy.
Deletion of directory prompted:-
Directory not empty.
Can anyone help me regarding this...???
Thanks,
Vikas (11 Replies)
Discussion started by: vikasrout
11 Replies
6. Shell Programming and Scripting
Hi All,
I am facing problem deleting Source while using the rsync command.
rsync --include=*`date --date="-1 day" \+\%Y\%m\%d`* --include=*`date +\%Y\%m\%d`* --exclude=* --delete-after -auvb -e ssh USER@SERVER:SOURCE DESTINATION
However the sync happens but not the deletion of the source... (1 Reply)
Discussion started by: amitkhiare
1 Replies
7. Shell Programming and Scripting
I'm debugging a ksh script written by someone else that does the following:
It runs a command and redirects stdout to a file called dberror that already exists using ">". This command fails with the following error:
The file access permissions do not allow the specified action. dberror:... (1 Reply)
Discussion started by: savage66
1 Replies
8. SuSE
I am trying to delete a folder, but unable to do so. tried my level best to delete.
Here I am giving all the steps I have tried out -
1. Output of ls -la
ls: cannot access -loop0: Permission denied
ls: cannot access -e0.7: Permission denied
total 324
d????????? ? ? ? ? ? -e0.7
d????????? ?... (4 Replies)
Discussion started by: sudip.majumder
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am facing issue while using scp. Source & target machines are Linux & HP-UX respectively.
On target machine, if I fire the following command, I get error:
Now if I try scp on another file, which is on the same source machine, it works fine.
All directories and subdirectories... (2 Replies)
Discussion started by: Technext
2 Replies
10. Shell Programming and Scripting
Hi,
I tried the following options but was unable to delete blank lines from file
Input file = temp.hash.txt
temp.hash.txt content
90
0
89.56
0
0
57575.4544
56.89 (9 Replies)
Discussion started by: uuuunnnn
9 Replies
LEARN ABOUT DEBIAN
network-admin
network-admin(1) General Commands Manual network-admin(1)
NAME
network-admin - Network Administration Tool
SYNOPSIS
network-admin [OPTION...]
DESCRIPTION
network-admin is part of the GNOME system tools, a set of tools to easily access and manage system configuration.
network-admin allows you to specify the way your system connects to other computers and to the Internet.
OPTIONS
--display=DISPLAY
X display to use
network-admin also accepts the standard GNOME and GTK options.
AUTHORS
network-admin was written by Carlos Garnacho Parro <garnacho@tuxerver.net> and others.
This manual page was written by Sven Arvidsson <sa@whiz.se>, for the Debian project (but may be used by others).
SEE ALSO
services-admin(1), shares-admin(1), time-admin(1), users-admin(1), gtk-options(7), gnome-options(7)
The online documentation available through the program's Help menu.
GNOME
2007-05-08 network-admin(1)