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 01-30-2005, 12:56 PM   #1
tongar
Member
 
Registered: Jan 2005
Distribution: SUSE ES 9 for x86
Posts: 43

Rep: Reputation: 15
chmod question


I have moved a boatload (6 gig) of installation files to a linux box and it appears that after untaring some of the lower level directories and files do not give permissions to "others". The files were moved by a non-root id. Perhaps my ftp settings had an affect on this. I have not attempted installation yet, but wanted to avoid a disaster.

SLES 9 KDE permissions recursion does not appear to work, so I have some questions about chmod.

Assume all of my many install directories and files are under one directory: bigdir
The install needs to be executed by root.

1. is root considered an "other" to a common id, or is it special and can do everything anyway?

2. This may be overkill, but if I need to change the dir to help root, would it be:

chmod -R 777 bigdir

Note: I do not want to change the idea of whether a particular file is executable, just change who can execute it.

Another assumption here is that no installation was ever screwed up by making intentionally readonly files editable.

thanks for your ideas,
tongar
 
Old 01-30-2005, 02:11 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
As root, how about:

chmod -R o+wr bigdir

?
That should make every file and directory under bigdir readable and writable by 'other'. I think. Try on a small subsection of your files first, just to be sure.
 
Old 01-30-2005, 02:43 PM   #3
rsmith
Member
 
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Rep: Reputation: 15
Re: chmod question

Quote:

chmod -R 777 bigdir
That command would allow everyone full control over the bigdir and all it's child objects.
 
  


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
chmod question Napalm Llama Linux - General 2 06-17-2005 09:17 AM
chmod -R question spooge Linux - General 2 01-13-2005 02:58 PM
chmod Question Rawr101 Linux - General 1 09-19-2004 03:17 AM
chmod question odious1 Linux - General 1 11-28-2003 11:41 PM
Question regarding chmod Yohhan Linux - Software 3 01-26-2003 02:24 AM


All times are GMT -5. The time now is 07:48 PM.

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