04-06-2006
related to directory permission
$mkdir nw_dir
$-----------
$cd nw_dir
bash
ermission denied
so what need to be filled in the blanks?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello guys!
Your board is very cool (professional and very great-looking!)
I have some experience with unix but there is something im wondering since this morning when working on a box here...
Here is the cut&paste from the terminal..,
ttstest01:~$ cd /
ttstest01:/$ pwd
/
... (2 Replies)
Discussion started by: MrOrange
2 Replies
2. Shell Programming and Scripting
hi friends.
i have to make a perl script to generate all users and space(how much they are using) and files(how much files they have) and time(how much time that accessed /tmp buffer) from /tmp directory.
please provide me guidance.
regards
pranesh b. mishra (2 Replies)
Discussion started by: praneshmishra08
2 Replies
3. UNIX for Dummies Questions & Answers
Hi, I have a directory that needs to be accessed by the members of two groups:
group1 needs rw access
group2 needs only r access
others should have no rights
I must be missing something obvious, but I can't figure out how to do it! Any ideas? (2 Replies)
Discussion started by: StephenJH
2 Replies
4. Shell Programming and Scripting
Hi all,
Have to generate an xml having information related to files in the directory
Suppose i have file
file1.xml (datafile)
file2.xml (datafile)
file3.xml (metafile)
Now i need to generate an xml in the format >>
<?xml version="1.0" encoding="UTF-8"?>
<AuditFile Version="2.0">... (8 Replies)
Discussion started by: abhinav192
8 Replies
5. Solaris
Hi,
I have a directory /u01/source.
Following are current permission on directory source.
oracle@TEST # ls -l source
drwxrwxrwx 2 user1 userbi 31232 Apr 8 13:33 EG1
drwxrwxrwx 2 user1 userbi 1024 Apr 8 05:45 E2
drwxrwxrwx 2 user1 userbi 57344 Mar 15 10:22 h5
There is another ... (4 Replies)
Discussion started by: fahdmirza
4 Replies
6. UNIX for Dummies Questions & Answers
hi
i have a directory called dbms and group dba.... My question is how do i set full permissions i.e read/write/execute for all user(in dba group) for the directory dbms.
If i use the following cmd
chmod g+rwx dbms
here in above cmd ..which group it denotes..how AIX will know (3 Replies)
Discussion started by: udtyuvaraj
3 Replies
7. Solaris
Hi friends,
I would like to grant a management capability for a specific application to my user test. Application is installed under /opt/myApp and has startup and management scripts under directories bin and sbin. This application is installed by root and can be managed by root. For security... (0 Replies)
Discussion started by: niyazi
0 Replies
8. Solaris
# ls -l
total 10
-rw-r--r-- 1 dummy2 other 140 Jun 19 21:37 local.cshrc
-rw-r--r-- 1 dummy2 other 136 Jun 19 21:37 local.cshrc~
-rw-r--r-- 1 dummy2 other 157 Jun 19 21:37 local.login
-rw-r--r-- 1 dummy2 other 178 Jun 19 21:37 local.profile... (6 Replies)
Discussion started by: chidori
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
How do i change the permission to read/write to a windows directory? (1 Reply)
Discussion started by: lg123
1 Replies
10. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
RMDIR(2) System Calls Manual RMDIR(2)
NAME
rmdir - remove a directory file
SYNOPSIS
#include <unistd.h>
int rmdir(const char *path)
DESCRIPTION
Rmdir removes a directory file whose name is given by path. The directory must not have any entries other than "." and "..".
RETURN VALUE
A 0 is returned if the remove succeeds; otherwise a -1 is returned and an error code is stored in the global location errno.
ERRORS
The named file is removed unless one or more of the following are true:
[ENOTDIR] A component of the path is not a directory.
[ENAMETOOLONG] The path name exceeds PATH_MAX characters.
[ENOENT] The named directory does not exist.
[ELOOP] Too many symbolic links were encountered in translating the pathname. (Minix-vmd)
[ENOTEMPTY] The named directory contains files other than ``.'' and ``..'' in it.
[EACCES] Search permission is denied for a component of the path prefix.
[EACCES] Write permission is denied on the directory containing the link to be removed.
[EPERM] The directory containing the directory to be removed is marked sticky, and neither the containing directory nor the direc-
tory to be removed are owned by the effective user ID.
[EBUSY] The directory to be removed is the mount point for a mounted file system.
[EIO] An I/O error occurred while deleting the directory entry or deallocating the inode.
[EROFS] The directory entry to be removed resides on a read-only file system.
[EFAULT] Path points outside the process's allocated address space.
SEE ALSO
mkdir(2), unlink(2).
4.2 Berkeley Distribution August 26, 1985 RMDIR(2)