The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
root can not change the permission of old oracle archive directory in solaris 8 mahanalok SUN Solaris 3 03-16-2009 07:31 PM
Root cannot change /home permission moe2266 UNIX for Dummies Questions & Answers 6 10-31-2007 10:19 AM
Permission Change Upon Reboot gross SUN Solaris 2 06-25-2007 12:34 PM
change permission chmod Minguccio75 UNIX for Advanced & Expert Users 2 11-30-2006 04:48 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 01:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-01-2009
vijayq8 vijayq8 is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 14
cant able to change permission in a DIR as root user

Hi

my directory not accepting any commands. its simply telling permission denied. i tried ( cp, mv, rm ) as roor

i want to set default permissons to this DIR

please find the Logs below.

dr-xr-xr-x 1 root root 1 Jun 1 09:04 AP1_ROP ( original dir)

root> chmod 777 valve
chmod: WARNING: can't change valve

root> getfacl AP2_ROP
# file: AP2_ROP
# owner: bin
# group: bin
user::rwx
group::r-x #effective:r-x
mask:r-x
other:r-x

please give me a solution,

i tried all commands with root login, something went wrong with the directory, its not accepting any commands.

Thanks
Vijay,
  #2 (permalink)  
Old 06-01-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,478
Your directory might me remote (eg: NFS) or on a filesystem mounted read-only (eg: lofs mounted shared directory on a zone).

In the first case, switch to the bin user which owns the directory ans isn't subject to root downgrade to nobody.
In the latter case, you need to have the filesystem remounted read-write if this is possible.
  #3 (permalink)  
Old 06-01-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,007
why:


Code:
chmod 777 valve

?
and not

Code:
chmod 777 AP1_ROP

?
  #4 (permalink)  
Old 06-01-2009
vijayq8 vijayq8 is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 14
sorry duke,

The issue is same, file i mistyped as valve.
filename is AP1_ROP

Thanks
Vijay,
  #5 (permalink)  
Old 06-01-2009
tirupathi tirupathi is offline
Registered User
  
 

Join Date: May 2009
Posts: 35
chmod a+rwx filename
chmod -h 666 filename
you have set the any acls telme
  #6 (permalink)  
Old 06-01-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,478
Hmm, root is neither constrained by file permissions nor by ACLs.

The filesystem is either mounted read-only or is remote.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0