Reset file permissions | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

Reset file permissions

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-19-2011
msb65 msb65 is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 12 December 2011, 2:18 PM EST
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Reset file permissions

Hi,

Is there a command I can execute to reset to default the file permissions of some files and directories?

I am using BASH on a system running OS X.

Thanks a lot,
Mike
Sponsored Links
    #2  
Old 07-19-2011
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 30 October 2014, 6:26 PM EDT
Location: Saskatchewan
Posts: 19,733
Thanks: 830
Thanked 3,373 Times in 3,160 Posts
I don't know of a command to rest any random file to default file permissions. The system doesn't keep a separate 'default' for each and every file you make. If you screwed up some system files and need to fix it, you're going to have to be more specific about what you did.
Sponsored Links
    #3  
Old 07-19-2011
msb65 msb65 is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 12 December 2011, 2:18 PM EST
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Corona688,

Thanks for the reply. The files/directories I am attempting to modify are not system ones, just simply some that I have created. I have been playing around with their permissions, but was hoping to reset them to my system's default settings (ie. whatever the permissions were when I first created them).

Mike
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
shadow file after a password reset progressdll UNIX for Dummies Questions & Answers 0 10-31-2007 05:18 AM
Reset Home Directory Permissions punkrockguy318 UNIX for Dummies Questions & Answers 5 04-02-2004 12:50 AM
Take a file from the system and put on tape and reset the file to 0 bytes JackieRyan26 UNIX for Dummies Questions & Answers 1 09-06-2001 05:08 PM



All times are GMT -4. The time now is 08:52 AM.