Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Users cannot access folder, only root
NiceLittleRabbit
post May 31 2012, 12:41 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 29-July 11
Member No.: 15,486



Hello,

I have been having a very strange (for me) issue with my Debian server.

There is a folder (Data), located onto another hard drive, with what seem correct rights to me, which only allows access to root.

Here come some screenshots:

First, just doing "ls" from "/"
CODE
debian:/home3# ls -l
total 256
drwxr-x--- 120 john family   4096 May 31 07:15 Family
lrwxrwxrwx   1 john Data       6 Mar 29  2011 Data -> /Data
drwxr-xr-x  30 john humor 237568 May 30 17:30 Humor
drwx------   2 root  root     4096 Dec  5  2009 lost+found
drwxr-x--- 153 john docs   12288 May 24 18:05 docs
debian:/home3#


Then, entering into Data as root:

CODE
debian:/home3/Data# ls -l
total 20
drwxr-x--- 4 john Data  4096 Nov 11  2010 Data
drwxr-x--- 2 root  root  16384 Mar  1  2011 lost+found
debian:/home3/Data#


Then, Entering again into Data:

CODE
debian:/home3/Data/Data# ls -l
total 8
drwxr-x--- 9 john Data 4096 Apr 24 20:31 Data
drwxr-x--- 2 root  root  4096 May 21  2010 lost+found
debian:/home3/Data/Data#


And then, if I enter into Data again all my data shows up.

The problem starts at the first level "/".

Here comes a screenshot when I try to enter /Data as a normal user:

CODE
john@debian:/$ cd Data/
bash: cd: Data/: Permission denied
john@debian:/$


I know the path is weird, that's something that happened during a restore of the server and I have never understood why that was so, but it used to work anyways and I did not have time to dig into it. However, now no user can enter the /Data folder and it is more worrying.

Does anyone have any idea why that may be so?

Thank you in advance
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 12:35 AM