cant able to change permission in a DIR as root user


 
Thread Tools Search this Thread
Operating Systems Solaris cant able to change permission in a DIR as root user
# 1  
Old 06-01-2009
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,Smilie
# 2  
Old 06-01-2009
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  
Old 06-01-2009
why:

Code:
chmod 777 valve

?
and not
Code:
chmod 777 AP1_ROP

?
# 4  
Old 06-01-2009
sorry duke,

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

Thanks
Vijay,Smilie
# 5  
Old 06-01-2009
chmod a+rwx filename
chmod -h 666 filename
you have set the any acls telme
# 6  
Old 06-01-2009
Hmm, root is neither constrained by file permissions nor by ACLs.

The filesystem is either mounted read-only or is remote.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies

2. UNIX for Dummies Questions & Answers

Switching from root to normal user takes me to user's home dir

Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user. How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies

3. HP-UX

Sudo entry required to set permission similar to ROOT without using password (PASSWD) change optio

Hi All I had installed sudo in HP UX 11.3 and it is working fine but not able to make entry required to set permission similar to ROOT without using password (PASSWD) change option for define user in /etc/sudoers file Please help if some know the syntex? :confused::wall: (2 Replies)
Discussion started by: deviltech
2 Replies

4. UNIX for Advanced & Expert Users

Allow user without dir write permission to execute a script that creates files

In our project we have several unix scripts that trigger different processes. These scripts write logs to a particular folder 'sesslogs', create output data files in a separate directory called 'datafiles' etc. Usually L1 support team re-run these scripts . We donot want L1 support team to have... (14 Replies)
Discussion started by: waavman
14 Replies

5. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

6. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

7. HP-UX

could not able change permission of /home dir

Hi i am new to this admin area . i have created user with name as "ab" and gave home dir as /home/ab . when i tried to create the /home/ab dir , i got he following error. "mkdir: Failed to make directory "/home/ab"; Operation not applicable " Thanks in advance . (1 Reply)
Discussion started by: expert
1 Replies

8. Solaris

How to change permission for opt dir in Solaris Zones?

Hi All While configuring zone I run add inherit-pkg-dir I thing this command will inherit opt,etc,lib... directories from global zone to non global zone with read permission................ So this makes problem for me I want to edit one file opt dir which is useful for my project but when I... (4 Replies)
Discussion started by: vijaysachin
4 Replies

9. Solaris

root can not change the permission of old oracle archive directory in solaris 8

I am using oracle 9i with sun solaris 8 on Sun E 250 server.earlier we are taking backup of oracle archive files on /orabackup directory.in which archive file are stored with ...arc.Z extension. now we have changed the archive backup directory.now when we are trying to delete earlier directory... (3 Replies)
Discussion started by: mahanalok
3 Replies

10. UNIX for Dummies Questions & Answers

Root cannot change /home permission

Folks; I'm a root but i couldn't change /home directory permission or group. i'm getting operation not permitted. Any help? (6 Replies)
Discussion started by: moe2266
6 Replies
Login or Register to Ask a Question