The UNIX and Linux Forums  

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
how do I identify files with characters beyond a certain range. kcsunsun01dev Shell Programming and Scripting 3 02-14-2008 02:51 PM
cannot access files in apache visitorQ UNIX for Dummies Questions & Answers 3 12-17-2007 02:15 AM
Can't access files on own server Djaunl UNIX for Dummies Questions & Answers 3 07-20-2006 07:19 AM
To What files root does not have access to?? mgirinath UNIX for Dummies Questions & Answers 2 12-07-2005 08:26 AM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 05:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-02-2006
Registered User
 

Join Date: Feb 2005
Location: Ontario
Posts: 20
how to identify files I cannot access

I want to use find (or something else) to give me a list of all files in a directory tree where the group access is not rwx or rw-. I'm trying to archive the whole directory tree, but it won't archive any files where I do not have at least read access. I have tried:
find . ! -perm -060 but that doesn't give me what I'm looking for.

"ls -lR | grep '^...---' and that does give me (more or less) what I want, but it doesn't give the full pathname for the files. There doesn't seem to be an option for ls that will print out the full pathname for me.

BAsically, I want to get a list of files so that I can go to the owners and get them to do a chmod. I would be much simpler if I had root privileges, but unfortunately I don't.

Any help would be appreciated.
Reply With Quote
Forum Sponsor
  #2  
Old 08-02-2006
Registered User
 

Join Date: Mar 2006
Posts: 106
here

the process you start has EUID of your account, if the permissions are not sufficient it normally has to be rejected. The backup software usually takes some nologin (pseudo) user that has backup sufficient permissions and you suppose to sudo to this account to perform backup. Such account normally called "backup operator". That is why we have security.
Reply With Quote
  #3  
Old 08-02-2006
Registered User
 

Join Date: Feb 2005
Location: Ontario
Posts: 20
We don't have sudo capabilities. What we are told that we should do is send a request to our (external) unix management team to ask them to do the archive (and retrieval if we need something retrieved). However, I an't wait for 2-3 days to have the request actioned, so that is why I do it myself.
We are told that outsourcing our unix support is cheaper than having our own in-house support, but I'm sure that they didn't factor in the down-time and frustration level of the end-users.
Reply With Quote
  #4  
Old 08-02-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
No, they only factor in cost. Cost wins.
Reply With Quote
  #5  
Old 08-04-2006
Registered User
 

Join Date: Mar 2006
Location: South Yorkshire, UK
Posts: 114
If you don't have regular backups then I hope you don't have any valuable data - could prove a lot more expensive than having proper support.
However, I don't see why your find command didn't give you what you were looking for - have I misunderstood?

cheers
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0