Access Keys:
Skip to content (Access Key - 0)

How can I make a specific file in my directory hidden or read-only?

This is not possible for directories in AFS. AFS permissions take precedence over permissions set by the "chmod" command.

While you can make a file read-only (with "chmod a-w filename" or similar) to prevent inadvertent overwriting of the file, anyone with AFS "write" permissions would be able to run "chmod a+w filename" and overwrite it.

If, however, you have a directory that is shared with your friends, and you want to prevent them from reading certain files in that directory, those files must be moved to a different directory on which your friends do not have any permissions.

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

February 24, 2009

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
olc-afs olc-afs Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki