The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Basic OS question catwomen HP-UX 4 09-08-2006 05:39 PM
a very basic question regarding gcc... caltiger High Level Programming 2 09-04-2006 04:16 AM
Really basic question.... robherms UNIX for Dummies Questions & Answers 1 02-17-2006 06:50 AM
basic question urwannabefriend UNIX for Dummies Questions & Answers 1 04-10-2004 02:21 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-17-2008
Registered User
 

Join Date: Aug 2007
Location: Bangalore
Posts: 285
Stumble this Post!
basic question

hi,

I have a basic question,,

i am in a directory called
/intas/OCU_3.9.1/sbin

ocuut1@france>mv itsa_tcs itsa_tcs_old
mv: itsa_tcs_old: rename: Permission denied

i am logging as the owner of the file.

when i am doing this i am getting the above error of permission denied.
I know there is some permission prblem but how can i check that,then i use the chmod command and give the permission to the directory.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-17-2008
Registered User
 

Join Date: Apr 2008
Location: Frankfurt a.M.
Posts: 37
Stumble this Post!
id

and then

ls -ld /intas/OCU_3.9.1/sbin

and post the output
Reply With Quote
  #3 (permalink)  
Old 04-17-2008
Registered User
 

Join Date: Aug 2007
Location: Bangalore
Posts: 285
Stumble this Post!
Code:
ocumut2@france>id
uid=10404(ocumut2) gid=210(spgroup) groups=201(itsu)

ocumut2@france>ls -ld /intasmut2/OCU_3.9/sbin
dr xr xr x   2 ocumut2    spgroup       4096 Apr 17 10:38 /intasmut2/OCU_3.9/sbin
Reply With Quote
  #4 (permalink)  
Old 04-17-2008
Registered User
 

Join Date: Apr 2008
Location: Frankfurt a.M.
Posts: 37
Stumble this Post!
chmod u+w /intasmut2/OCU_3.9/sbin
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0