Article View: news.software.nntp
Article #73860Re: should permissions be news and not root
From: John F. Morse
Date: Tue, 18 Jul 2006 13:41
Date: Tue, 18 Jul 2006 13:41
58 lines
3643 bytes
3643 bytes
rob wrote: >thanks for your post. > >I did receive a email today from italy >suggesting > > > >>If this fixes it, then the owner of the calling program is not the user >>"news" but probably "rob." >> >> > >chown news /path/to/your/program > >sorry to sound dim but what program and what path? > > >robert > My guess is they are referring to Suck, since that seems to be the program which cannot read, or more likely write, to the sucknewsrc and/or sucknewsrc.old file. The "path" reference is to get you to the location of the program (probably Suck in this case). Wherever you installed it. You do not need to enter the path "/path/to/your/" anywhere, if you first change to the directory (cd) where the program is. This allows the chown command to find the program. Or as they probably are thinking, you can use chown from anywhere in the file system, to change any specific program, but you need to give a full pathname to that file so it can find the program. If Suck is the program to which you want to change the owner to user news, and it is in /usr/lib/news/bin, then either cd to that directory and enter "chown suck news", or from anywhere else enter "chown /usr/lib/news/bin/suck news" to have it change. My preference is to cd to the directory, then perform any ownership and permission modifications. Then I'm already there to check them with "ls -l" to see if they were correctly applied. Saves typing a long pathname more than once, or using the shell history and editing. My reasoning is I'm a fast typist, but not a touch-typist, and I make many typos from poor aim at the keys, even though I look at the keyboard when typing. The less typing I do means there is less chance for reentering a corrected command a second time. Or less chances of doing harm to a file or the system. I learned years ago to never work as Root unless absolutely necessary, and sudo eliminates almost any reason to become the superuser. -- John
Technical Details
Message-ID:
<Zx5vg.144737$mF2.11251@bgtnsc04-news.ops.worldnet.att.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<1153141206.278388.106730@m79g2000cwm.googlegroups.com> <aaNug.407247$Fs1.32041@bgtnsc05-news.ops.worldnet.att.net> <1153149980.985093.3220@75g2000cwc.googlegroups.com> <pSOug.141340$mF2.99220@bgtnsc04-news.ops.worldnet.att.net> <1153161065.508041.97780@m73g2000cwd.googlegroups.com> <R4Wug.410345$Fs1.159381@bgtnsc05-news.ops.worldnet.att.net> <1153217456.396240.106940@35g2000cwc.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <Zx5vg.144737$mF2.11251@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: should permissions be news and not root Date: Tue, 18 Jul 2006 13:41:13 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <1153141206.278388.106730@m79g2000cwm.googlegroups.com> <aaNug.407247$Fs1.32041@bgtnsc05-news.ops.worldnet.att.net> <1153149980.985093.3220@75g2000cwc.googlegroups.com> <pSOug.141340$mF2.99220@bgtnsc04-news.ops.worldnet.att.net> <1153161065.508041.97780@m73g2000cwd.googlegroups.com> <R4Wug.410345$Fs1.159381@bgtnsc05-news.ops.worldnet.att.net> <1153217456.396240.106940@35g2000cwc.googlegroups.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <1153217456.396240.106940@35g2000cwc.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 58 NNTP-Posting-Host: 41f631151e5138c9314f53911678040d X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1153230073 NNTP-Posting-Date: Tue, 18 Jul 2006 13:41:13 GMT