WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installing an extension located in /tmp - can tce-load be used?  (Read 7401 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Installing an extension located in /tmp - can tce-load be used?
« Reply #15 on: January 28, 2010, 04:25:38 PM »
Just curious, what kind of file is your sudoers ? (i.e. `sudo file sudoers`)

I thought it was just a plain text file.

iirc the links generated by loading will not override existing files.
I'm not quite sure what you are getting at. I'm referring to the /etc/sudoers file. Are you saying rsync will not overwrite it?
I was referring to the error
Quote
/etc/sudoers is not a regular file

Yes indeed that was a strange error. It occurred after I did a "sudo tce-load -i" of the extension I created. The extension was simply a small collection of files that included "/etc/sudoers" (an unchanged copy of the tc base file). Actually all of the files were copies of tc base files.The extension was installed which meant it replaced the existing files. After that the errors started to occur and remained until I did a reboot. Perhaps permissions or ownerships were changed. Very strange.
« Last Edit: January 28, 2010, 04:28:13 PM by bigpcman »
big pc man

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Re: Installing an extension located in /tmp - can tce-load be used?
« Reply #16 on: January 28, 2010, 04:46:34 PM »
It occurred after I did a "sudo tce-load -i" of the extension I created.

The script tce-load does designed to be executed as root.  It contains the code
Code: [Select]
[ "$USER" == "root" ] && exit 1