LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2016, 12:01 PM   #1
KSctmv8
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Rep: Reputation: Disabled
Talking setup.sh read-only system file and dont want to change if i use chmod -R 755 <filename>


Hi All aim a newbie ,


So if try to run the setup.sh i get dis error
[root@CTMV8 iso]# ./setup.sh
*** Owner of the current directory [/root/iso] should not be root

But i did addusers and for some reasion it does not wont to give me rights i have tryed
Chmod -R 755 <Filename>
Chmod a+rwx <filename>
chmod g+w <filename>
but keeps telling me the file is Read-only system file
One last thing tho i dit try the chown but wen it try's to change behine it still stand read-only system file

And wen i go to the nather user i get
su - ctmem
[ctmem@kayle ]
/iso/ctmem/setup.sh
*** current directory [/home/ctmem/v9] is not owned by ctmem . ***
*** Please log in as root or as root and restart installation. ***

Last edited by KSctmv8; 07-13-2016 at 05:56 AM.
 
Old 07-09-2016, 12:16 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,688
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Hi,
Welcome tot he forum, I hope it'll be of use
So, what are you trying to install? Give a little more info, please...it'll help us...help ypu
You say:
Quote:
It have mount it
...so I assume it is a CD rom?
Thanks
Melissa
 
Old 07-09-2016, 02:38 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,989

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
The message you posted explicity states that the owner of the directory from which you are running the script to install whatever software you are trying to install should not be root. So change the owner. Hard to give any more suggestions not knowing what you are doing.
 
Old 07-09-2016, 03:08 PM   #4
KSctmv8
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Talking

Would it be beter if i screen shot it for you

Last edited by KSctmv8; 07-12-2016 at 02:12 AM.
 
Old 07-10-2016, 04:22 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,688
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Wink

You can change the ownership of an object with the chown, an example for a folder
Code:
chown -R [yourname]:[yourgroup] theFolder
This will give you ownership of everything in theFolder, including theFolder itself...
The command groups tells you what groups you are part of on the system...
Melissa
 
1 members found this post helpful.
Old 07-10-2016, 05:29 AM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,288
Blog Entries: 2

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
Code:
adduser
Code:
useradd
&c...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dis usage shravankumar.bbc Linux - General 2 03-20-2011 09:21 AM
Can anyone help me to understand dis? kalps Linux - Networking 1 03-04-2009 10:09 PM
Dis montylee Linux - Newbie 0 01-06-2007 10:17 AM
my own lin dis. ewt3y Linux - Distributions 2 08-11-2005 05:27 AM
M$ dis'd on their own site PlanetNEO General 5 05-11-2003 10:33 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration