Note: If you are unable to change users with the su command, ask your system administrator or the owner of the required directory to change the permissions of the directory to provide you with read access.
Run the rm command with the -r flag as follows:
rm -r DirectoryName
Run the rm command with the -r flag as follows:
rm -r DirectoryName
Note: The chmod 777 command gives read, write, and execute permissions to all users. If you do not want this, see "Understanding File and Directory Access Modes" in AIX Version 4.3 System Management Guide: Communications and Networks for more information about files and directories.
Note: Ensure that you have write permission to the specified directory. See the following procedure for information on how to get write permission to a directory.
As the root user or as a user with proper permissions, enter the chmod 777 /DirectoryName command to give yourself write permission to the directory specified by the -T flag.
Enter the df FileSystem command while the sort command is processing the file. The df command displays information about space available on a file system.
The sort command creates temporary files in either the /usr/tmp directory or the /tmp directory. Writing is unsuccessful if the file system containing the temporary directory becomes full. If you are not sure which directory is used for temporary file storage, enter the sort -T /usr/tmp FileName command to create the temporary files in the desired directory.
If the sort fails because the file system containing the temporary directory is full, do one of the following:
Enter the ls -la DirectoryName command to list permissions. Use the chmod 777 command to change write permissions, if necessary.