Access Denied


 
Thread Tools Search this Thread
Operating Systems Solaris Access Denied
# 1  
Old 11-07-2011
Access Denied

Hi All,

I have a root access for one of the server. But, when i try to cd one particular directory i will get the access denied message. Even though that particular directory is created under root. What would be the cause for this? I really wonder if any one have answer for my question.........Smilie




Thanks in Advance,
Sricharan.C
# 2  
Old 11-07-2011
Root user privilege doesn't mean you have an access to directory , please check the the permissions and post here again
Code:
#ls -ld directory

Also you can use the
Code:
stat

command if you want detailed information on a file or a directory.
# 3  
Old 11-08-2011
Hi h@foorsa,

By executing the ls -ld command i got the following information.
Code:
dr-xr-xr-x   1 root     root           1 Jun 27  2010    foldername/

---------- Post updated 11-08-11 at 03:02 AM ---------- Previous update was 11-07-11 at 11:19 PM ----------

Hi All,

Adding to my above query, even i am not able to change the permission of that particular directory aswell.

Code:
chmod 755 foldername

Awaiting Reply....


Moderator's Comments:
Mod Comment Please use code tags <- click the link!

Last edited by zaxxon; 11-08-2011 at 04:24 AM.. Reason: code tags, see PM
# 4  
Old 11-08-2011
Are you sure this is not an NFS file system.
Please post the output come from df
Code:
#df -h

And post output come from the following 2 commands
Code:
#chmod u+w foldername

Code:
#getfacl  foldername

If your system doesn't have the stat command install it and post the output here
This command comes with GNU coretuils are available at Sunfreeware - Free and Open Source Software (FOSS) for Sun Microsystem's Solaris under coreutils either

Last edited by h@foorsa.biz; 11-08-2011 at 08:46 AM..
# 5  
Old 11-08-2011
Hi,

Please find the details below.

1. df -h // disk free //

Result:

Filesystem size used avail capacity Mounted on
/dev/vx/dsk/bootdg/rootvol
12G 4.3G 7.4G 37% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 16G 1.3M 16G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/SUNW,Sun-Fire-T200/lib/libc_psr/libc_psr_hwcap1.so.1
12G 4.3G 7.4G 37% /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-T200/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
12G 4.3G 7.4G 37% /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd

==================================================================

2. chmod u+w foldername/
Result: chmod: WARNING: can't change foldername/

==================================================================

3. getfacl foldername
Result:
# file: foldername/
# owner: root
# group: root
user::r-x
group::r-x #effective:r-x
mask:rwx
other:r-x


// I think something I need to do with mask settings, correct me if i am wrong //


===================================================================

And comming to this command "stat", i think this command is not installed in my system as you said. How to check weather it has installed or not. But I am not the owner of this server to install. Smilie So can you please guide me in any other way?

Result:

[root@abc.com]/#stat
bash: stat: command not found


Thanks in Advance
Sricharan
# 6  
Old 11-08-2011
can you check the size of the directory using du
# 7  
Old 11-08-2011
First of all use to post in Code Tags which makes your post neat and clear and aids forum members to view it clearly and encourage them to help you.
Secondly your problem is somewhat strange .
will you post the output from the following command.
Code:
#ls -li foldername

Code:
#ls -R foldername

Code:
#ls -lrh foldername

Code:
#du -sk foldername


Last edited by h@foorsa.biz; 11-09-2011 at 11:50 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

X-Server access is denied on host

The situation is: I have a RHEL 7.3 VM that I am able to access via both ssh and VM console. I am able to run all of the standard commands for verifying that X11 forwarding/xhost permissions are working (xclock, nautilus, firefox, etc.) i can also run the runInstaller for Oracle client, No problems... (1 Reply)
Discussion started by: melghaze
1 Replies

2. UNIX for Dummies Questions & Answers

Access Denied

I login to a server and get a Access Denied Prompt but I clearly lets me into the prompt with Putty. I do a sudo -s enter my password tells me Access Denied but I am clearly now Root Just wondering why this is so? what is misconfigured? I mean its not prohibiting me from anything, this is more... (3 Replies)
Discussion started by: gkelly1117
3 Replies

3. Windows & DOS: Issues & Discussions

seteuid access denied - openSSH installation

Hi, I have installed openssh in one of my windows servers following SUA community guidelines. I can successfully install and generate RSA DSA keys. But I cannot SSH to server from my Solaris machine. Below is the output from ssh -v <server>. Also I tried to SSH from the K-shell to localhost... (0 Replies)
Discussion started by: vkk
0 Replies

4. Red Hat

Adduser -> Access denied

hi, I have a problem with any user i created on a linux server RH. With the user root i did: adduser toto passwd toto (to give it a password - message : "all authentication tokens updated successfully") I can do a "su - toto", but when I try to connect it directly by ssh i have the message... (3 Replies)
Discussion started by: Castelior
3 Replies

5. AIX

Why access to the servers is denied?

There is one aix server, IP is 152.240.28.14, the user IP is 152.240.88.64, The user is able to get access briefly then all access is denied from the whole subnet 152.240.88.0. a short while later access is granted and the same thing happens all over again. The customer is able to... (7 Replies)
Discussion started by: rainbow_bean
7 Replies

6. Programming

Access denied for user at localhost

Hi guys. We can can connect to mysql server from command line with some user. but when using mysql_connect() it says: access is denied for user 'someuser'@'localhost' (using password: YES) what should i do? (6 Replies)
Discussion started by: majid.merkava
6 Replies

7. Solaris

root access denied

Hi, I have installed solaris 10 on my local system. i want to connect with remotely using putty. it works when i connect remotely with telnet. but when i connect using ssh. it gives access denied error. i have comment the CONSOLE=/dev/console in /etc/default/login but it still don't work Plz... (4 Replies)
Discussion started by: malikshahid85
4 Replies

8. SuSE

"scp" access denied:/etc/security/access.conf

Guys i have 2 SUSE Linux Enterprise Server 10 SP1 (i586) boxes.if i take a look into /etc/security/access.conf ,i see following lines at the eof # All other users should be denied to get access from all sources. #- : ALL : ALL - : myID : ALL now earlier i had written scripts where files... (1 Reply)
Discussion started by: ak835
1 Replies

9. Red Hat

New RH User - Access Denied

Hi, We were just recently given a new VM instance with Red Hat linux. The only user account that can log in successfully is the root account. I made sure that the user z021407 has access to their directory and the account can read the home directory, but I can't log in with the new account... (2 Replies)
Discussion started by: edrichard
2 Replies

10. Solaris

Ftp access denied

Hello,I must share file from Linux machine to Solaris.I've enabled ftp with svcadm enable ftp,when I connect from Linux box I have this "Name (192.168.1.4:root): anonymous 331 Guest login ok,send your complete e-mail address as password Password : (I give my e-mail address) 530 Login incorrect... (3 Replies)
Discussion started by: bgf0
3 Replies
Login or Register to Ask a Question