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 PHP
fs_lsmount
FS_LSMOUNT(1) AFS Command Reference FS_LSMOUNT(1)NAME
fs_lsmount - Reports the volume for which a directory is the mount point.
SYNOPSIS
fs lsmount -dir <directory>+ [-help]
fs ls -d <directory>+ [-h]
DESCRIPTION
The fs lsmount command reports the volume for which each specified directory is a mount point, or indicates with an error message that a
directory is not a mount point or is not in AFS.
To create a mount point, use the fs mkmount command. To remove one, use the fs rmmount command.
OPTIONS -dir <directory>+
Names the directory that serves as a mount point for a volume. The last element in the pathname provided must be an actual name, not a
shorthand notation such as one or two periods ("." or "..").
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
If the specified directory is a mount point, the output is of the following form:
'<directory>' is a mount point for volume '<volume name>'
where
o A number sign ("#") precedes the <volume name> string for a regular mount point.
o A percent sign ("%") precedes the <volume name> string for a read/write mount point.
o A cell name and colon (":") follow the number or percent sign and precede the <volume name> string for a cellular mount point.
The fs mkmount reference page explains how the Cache Manager interprets each of the three types of mount points.
If the directory is a symbolic link to a mount point, the output is of the form:
'<directory>' is a symbolic link, leading to a mount point for volume
'<volume name>'
If the directory is not a mount point or is not in AFS, the output reads:
'<directory>' is not a mount point.
If the output is garbled, it is possible that the mount point has become corrupted in the local AFS client cache. Use the fs flushmount
command to discard it, which forces the Cache Manager to refetch the mount point.
EXAMPLES
The following example shows the mount point for the home directory of user "smith":
% fs lsmount /afs/abc.com/usr/smith
'/afs/abc.com/usr/smith' is a mount point for volume '#user.smith'
The following example shows both the regular and read/write mount points for the ABC Corporation cell's "root.cell" volume.
% fs lsmount /afs/abc.com
'/afs/abc.com' is a mount point for volume '#root.cell'
% fs lsmount /afs/.abc.com
'/afs/.abc.com' is a mount point for volume '%root.cell'
The following example shows a cellular mount point: the State University cell's "root.cell" volume as mounted in the ABC Corporation cell's
tree.
% fs lsmount /afs/stateu.edu
'/afs/stateu.edu' is a mount point for volume '#stateu.edu:root.cell'
PRIVILEGE REQUIRED
The issuer must have the "l" (lookup) permission on the ACL of the root directory of the volume that houses the file or directory named by
the -dir argument, and on the ACL of each directory that precedes it in the pathname.
SEE ALSO fs_flushmount(1), fs_mkmount(1), fs_rmmount(1)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_LSMOUNT(1)