• February 24, 2025, 01:49:06 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Accidentally Removed All File Permissions  (Read 3099 times)

KungFuCowboy

  • Level 1 Member
  • *
  • Posts: 2
Accidentally Removed All File Permissions
« 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?
Logged

KungFuCowboy

  • Level 1 Member
  • *
  • Posts: 2
Re: Accidentally Removed All File Permissions
« Reply #1 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.
Logged