Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 09:39:59 +0100
From:      "Bond, Jeffery" <Jeff.Bond@nectech.co.uk>
To:        "'Gagandeep Singh'" <gsng_ss@uhura.cc.rochester.edu>
Cc:        "'questions@freebsd.org'" <questions@freebsd.org>
Subject:   RE: email on unix
Message-ID:  <DD2AB7991BC6D211988E00A024AC583B2A9C55@exchange.nectech.co.uk>

next in thread | raw e-mail | index | archive | help
Hi gagandeep,

The 'chmod' command you are using only changes the file permissions. i.e.
read, write and execute permissions for the owner, members of the owner's
group, and anyone else (among other things). It will not change the actual
owner of the file. You need 'chown' to do this.

In the command I sent before :

chmod -R <new user> <directory>

this will change the ownership of all files and directorys under the
specified directory to the specified user. Obviously you will need to be
root to do this. Try 'man chmod' and 'man chown' to find out more.

Hope this helps,

Jeff

> -----Original Message-----
> From:	Gagandeep Singh [SMTP:gsng_ss@uhura.cc.rochester.edu]
> Sent:	Saturday, April 10, 1999 1:33 AM
> To:	Bond, Jeffery
> Subject:	re: email on unix
> 
> hi thanx for replying
> by folders i mean i have differnet folders in the mail dircectory
> apart from the regular sent mail and inbox
> i have a few folders like friends and family etc...
> 
> anyway, yes i did change permisions of the folders
> but i just used chmod and not what u have written
> i actually dont understand the way u have suggested
> thanx
> 
> gagandeep


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD2AB7991BC6D211988E00A024AC583B2A9C55>