Linux / UNIX Tech Support Forum
This is a discussion on Can't create dir/file... within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hello Friends, I can't create any file or directory in linux system as a user. What will be the cause ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello Friends,
I can't create any file or directory in linux system as a user. What will be the cause and how can I solve the problem? I tried few commands as for ref. --starting new bash shell -- level( 1 ) (1) /desti/Users/e029001 [e029001@...] $ unalias mkdir -bash: unalias: mkdir: not found (1) /desti/Users/e029001 [e029001@...] $ ll $(which mkdir) -rwxr-xr-x 1 root root 25060 Dec 24 02:49 /bin/mkdir* (1) /desti/Users/e029001 [e029001@....] $ mkdir new mkdir: cannot create directory `new': Permission denied (1) /desti/Users/e029001 [e029001@....] $ rpm -qf $(which mkdir) (1) /desti/Users/e029001 [e029001@...] $ touch test touch: cannot touch `test': Permission denied coreutils-5.2.1-31.7 (1) /desti/Users/e029001 [e029001@....] $ rpm -qf $(which touch) coreutils-5.2.1-31.7 Thanks, |
| Sponsored Links | ||
|
|
|
|||
|
[e029001@...] $ ll $(which mkdir)
-rwxr-xr-x 1 root root 25060 Dec 24 02:49 /bin/mkdir* (1) /desti/Users/e029001 [e029001@....] $ mkdir new mkdir: cannot create directory `new': Permission denied you dont have access to this directory . its a root directory . you must be root to do this, of change the directory owner , su - chown e029001:e029001 /desti/Users/e029001 . Voila now you can make files and directories regards Unixmen - Linux howto and Tutorials - Unixmen Home |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script to search specific file from txt file inside zip file and extract it | aasif.shaikh | Shell scripting | 2 | 05-31-2008 07:44 PM |
| How to create a bigfile (> 1Gb)? | dnquynh | Shell scripting | 5 | 04-01-2008 07:58 PM |
| create directory | vyshas | Shell scripting | 3 | 01-14-2008 08:14 AM |
| how to create multiple file in a single command | selvam | Shell scripting | 3 | 07-26-2006 02:01 AM |
| Create a new ext3 file system if a disk was added to the sys | chiku | Linux software | 1 | 07-23-2006 09:55 PM |