![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Chgrp and Chown ??? | skyineyes | UNIX for Dummies Questions & Answers | 1 | 05-28-2008 03:45 AM |
| chown | ariec | AIX | 2 | 08-14-2007 01:24 PM |
| chown | BG_JrAdmin | UNIX for Dummies Questions & Answers | 1 | 05-31-2005 10:47 AM |
| chown and permissions | ithost | UNIX for Dummies Questions & Answers | 1 | 07-03-2003 05:18 AM |
| chown and NIS | Jody | UNIX for Dummies Questions & Answers | 2 | 07-01-2003 11:57 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to change ownership of a file that I own by using the following command:
chown norfoklm norfolk norfoklm is the user I am trying to change it to and norfolk is the name of the directory The error I keep getting is: chown: norfolk: Not owner This is on a SUN unix box if that makes any difference. HELP! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
What is the output of "ls -ld norfolk"? Are you the user specified in the third column of the output?
Cheers ZB |
|
#3
|
||||
|
||||
|
Re: Chown problem
Quote:
It's always a good idea to mention the OS. Like many versions of Unix, SunOS prevents non-root users from giving away files. If users can give away files, quotas are defeated. From the SunOS chown(2) man page: Quote:
|
|
#4
|
|||
|
|||
|
Thanks everyone. I have got around the problem by changing the directory permissions so that any users can create files and then I have logged in as the other user and created the files. Thanks for the info though.
|
|||
| Google The UNIX and Linux Forums |