Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Script not setting ownership of new directory

by swampyankee (Parson)
on Jul 29, 2008 at 14:30 UTC ( [id://700825]=note: print w/replies, xml ) Need Help??


in reply to Script not setting ownership of new directory

For FreeBSD, man pages on the chown "the ownership of a file may only be altered by a super-user for obvious security reasons." If you're just changing group ownership, you could try the chgrp command, where the user executing it "must belong to the specified group and be the owner of the file, or be the super-user." Other *ix may vary, but I've not seen one that permits ordinary users to change file ownership for about 15 years.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

  • Comment on Re: Script not setting ownership of new directory

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://700825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found