D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: KungFuCowboy on April 13, 2012, 10:23:53 PM

Title: Accidentally Removed All File Permissions
Post by: KungFuCowboy on April 13, 2012, 10:23:53 PM
I finally figured out how to reset the Linux file permissions to resolve my file access issues.  However, I did something foolish.  Being rusty with Linux, I used chmod (via OS X's terminal) and forgot to include "rw" when setting execute permissions.  Even worse, I was doing it for user, group and everyone at the same time, so the file is no longer visible.  Does anyone know how I can get to the file now?  Does it have to be done through the root account, and if so, how can I run chmod as root?
Title: Re: Accidentally Removed All File Permissions
Post by: KungFuCowboy on April 13, 2012, 11:13:10 PM
Nevermind.  Managed to get it back by using the OS X root account to change permissions on the ._ hidden file which change it for the file itself.