This is the command which did the damage. It actioned the -r (Remove Read Permisssions) parameter on the directory pzx2v9 .
You need a root user to type the reverse command:
ok what is the signifigance of the -l that wont let you list the contents of a directory you clearly have access to list files. what am i missing
/tmp$ls -l hold
hold/file1: Permission denied
total 0
/tmp$ls hold
file1
/tmp$ls -l
dr-x---r-- 2 root other 179 Apr 23... (6 Replies)
Hi guys,
When I switch my user. I cant go to one of the folders. seems that this user has no right to access the folder. can you please help me to give the right to this user in order for him to access to the folder? it gives me permission denied. (2 Replies)
Hi All,
I want to change a permission 755 only for a folder <log> under the directory recursively /home . but all other folder permission remain same under /home
Thanks in advance
Chakkaravarthy (8 Replies)
hello friends,
By mistake I have run find / -type f -exec chmod 644 {} \;
now all permission has been chaged of /bin
I am not able to change the permission. I am working on the virtuozzo VPS.
Is their any way to retrieve the permission to 770 to /bin
Note /bin/chmod also not executing... (2 Replies)
I need to transfer directories/files between 2 Unix servers, with same folder permission.
I tried scp, but it retains the the permissions, but changes the owner of the directory/file to the user used to copy them to the destination. I don't want that to happen.
If possible without any other... (6 Replies)
Hi,
I created user1 & user2 on my Linux machine. User2 cannot access home directory of user1. How user2 access the user1 home directory without changing owner of the directory. from root user, i tried chmod 755 /home/user1. But user2 trying to change directory it provides permission denied... (1 Reply)
Hi All,
What is the use of execute permission for a folder.
I know "for execute a file(script file) we have to provide execute permission to that respective file".But what is the use to give execute permission to folder.Is it equal to read permission ?
Regards,
Mastan (1 Reply)
Hi,
Call me stupid but i accidentally executed following command :
find $INSTALLDIR/ -type f -exec chmod 644 {} \;
now after which I am not able to run any command in system even ls command is giving me error for "permission denied" :( (5 Replies)
Discussion started by: itajooba
5 Replies
LEARN ABOUT SUNOS
cpio.h
cpio.h(3HEAD) Headers cpio.h(3HEAD)NAME
cpio.h, cpio - cpio archive values
SYNOPSIS
#include <cpio.h>
DESCRIPTION
Values needed by the c_mode field of the cpio archive format are described as follows:
Name Description
C_IRUSR Read by owner
C_IWUSR Write by owner
C_IXUSR Execute by owner
C_IRGRP Read by group
C_IWGRP Write by group
C_IXGRP Execute by group
C_IROTH Read by others
C_IWOTH Write by others
C_IXOTH Execute by others
C_ISUID Set user ID
C_ISGID Set group ID
C_ISVTX On directories, restricted deletion flag
C_ISDIR Directory
C_ISFIFO FIFO
C_ISREG Regular file
C_ISBLK Block special
C_ISCHR Character special
C_ISCTG Reserved
C_ISLNK Symbolic link
C_ISSOCK Socket
The header defines the symbolic constant:
MAGIC "070707"
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO pax(1), attributes(5), standards(5)SunOS 5.10 10 Sep 2004 cpio.h(3HEAD)