The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Recursively find and change Permissions on Man pages altamaha Security 5 03-25-2008 03:00 AM
Recursively changing permissions on files altamaha UNIX for Dummies Questions & Answers 1 03-01-2008 02:15 AM
How to find permissions/roles/priveleges of User hardesh UNIX for Advanced & Expert Users 1 09-27-2005 06:22 AM
Find files based on permissions dmilks Shell Programming and Scripting 1 07-28-2005 09:22 AM
Permissions on link files moviestud80 UNIX for Dummies Questions & Answers 2 04-01-2005 01:01 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-23-2003
Registered User
 

Join Date: Jul 2003
Location: Copenhagen
Posts: 1
Post How do i find files querying by permissions rights?

I'm running tikiwiki with some pretty big PHP scripts - somewhere one script has gotten uid 730 instead of 777. This invokes a PHP SAFE_MODE restriction, resulting in annoying error messages - sometimes in fatal errors.

How do i perform a commandline search to find the file(s) with uid 730 i.e. rwxwx ?

I'm connectred via SSH using "Putty" to Bash.

Thankx - and hope the question isn't too dumb, i'm new to UNIX
Forum Sponsor
  #2  
Old 07-23-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
No question is a stupid question :

find /path/to/my/dir -perm 0730 [-print]

Or what you probably want is :

find /path/to/my/dir -perm 0730 -exec chmod 777 {} \;

If it's from a specific user -user can be specified as well, but I think you just used the wrong word in your explanation.

@yourservice
David
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:40 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