top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How We can recover my data from my home directory I deleted accidently?

+2 votes
390 views
How We can recover my data from my home directory I deleted accidently?
posted Jan 12, 2014 by Neeraj Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

For recovering the deleted data from your Linux home directory. If you already installed netapp on your system. Go to In home directory .snapshot directory.
You can get the deleted item from different directory like hourly.0 hourly.1 hourly.2 hourly.3 nightly.1

answer Jan 13, 2014 by Amit Kumar Pandey
Similar Questions
+1 vote

I want to set home directory permissions for newly created users to 0750. Instead of having to manually chmod 0750, I found out I could edit this behavior in /etc/adduser.conf:

DIR_MODE=0750

Now here's a more tricky question. I have to create a series of users without shell access. What I'd usually do is something like this:

# useradd -m -g users -s /bin/false -c "abc" abc
# useradd -m -g users -s /bin/false -c "xyz" xyz

Unfortunately my DIR_MODE=0750 directive is not operative, and these users' home directories get created with default 0755 permissions.

Any idea if there's a secret trick or switch so they're directly created with 0750 permissions?

0 votes

I was playing with the permissions of

/home
/home/abc

Could someone please tell me the commands to restore the correct permissions to those both directories?

...