You are not logged in.

#1 2005-08-15 16:22:32

raztos
Member
Registered: 2005-07-11
Posts: 26

chmod 777 /

Hi, I wanted to write chmod 777 * , bud a pressed "/" istead of "*". What happened with / directory ?

Offline

#2 2005-08-15 16:56:27

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: chmod 777 /

That is indeed a good question...

Offline

#3 2005-08-15 17:45:29

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: chmod 777 /

since / is a mount point, it should reset if you remount it (reboot).  If it really changed / to world rwx, then it could be a security problem, as anybody with access could delete/move dirs/files from / and replace them with their own copies.

Test if there is a problem, as a normal user, cd to / and `echo problem > problem.txt`, if the file is created then remount, otherwise it will complain about permissions.

Offline

#4 2005-08-15 17:51:11

archdaemon
Member
Registered: 2005-01-27
Posts: 83

Re: chmod 777 /

ls -ld /
chmod 755 /

I thought at first you'd done 'chmod -R' - *that* would be a problem. smile

Offline

#5 2005-08-15 18:30:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: chmod 777 /

that's what i thought too smile

I did that to home once, which was less bad..

Offline

#6 2005-08-16 13:26:30

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

Re: chmod 777 /

archdaemon wrote:

I thought at first you'd done 'chmod -R' - *that* would be a problem. smile

I had an engineer that worked for me do a 'rm -r /' once.  ;-)

He was learning by going through my shell history and using the commands to see what they did....


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

#7 2005-08-16 18:01:44

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: chmod 777 /

jackmetal wrote:
archdaemon wrote:

I thought at first you'd done 'chmod -R' - *that* would be a problem. smile

I had an engineer that worked for me do a 'rm -r /' once.  ;-)

He was learning by going through my shell history and using the commands to see what they did....

:twisted:  :twisted:  :twisted:

Wait, were you logged/su'ed root at the time?

Offline

#8 2005-08-19 08:25:31

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

Re: chmod 777 /

iBertus wrote:

Wait, were you logged/su'ed root at the time?

No, but he was!   lol


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

Board footer

Powered by FluxBB