The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to delete a file through SAMBA mcubitt Windows & DOS: Issues & Discussions 3 08-26-2008 06:52 PM
file permission problem skully SUN Solaris 2 05-26-2008 02:29 AM
File Permission Problem bluepluto UNIX for Dummies Questions & Answers 11 01-11-2007 08:56 AM
unable to delete a file arunkumar_mca UNIX for Dummies Questions & Answers 13 12-06-2006 07:04 PM
File permission problem jodie UNIX for Dummies Questions & Answers 2 11-11-2003 10:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-26-2006
sabyasm sabyasm is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 27
Post 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 ?
  #2 (permalink)  
Old 02-26-2006
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
It looks like you have ACL rules applied to those files and directories. Depending what system you are running you need to do a getacl or getfacl on the file to view the effective permissions.
  #3 (permalink)  
Old 02-26-2006
sabyasm sabyasm is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 27
I am using HP-UX
  #4 (permalink)  
Old 02-26-2006
sabyasm sabyasm is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 27
any help guys ?
  #5 (permalink)  
Old 02-26-2006
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Please read our rules.

You'll notice that bumping-up posts is not permitted. Anyway look at the manual pages for getacl setacl lsacl chacl, etc

Thanks
ZB
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0