Thread: changing file permissions
-
July 2nd, 2002, 04:41 AM #1
changing file permissions
When trying to change permissions on a directory as Root, I type the command:
"chmod 777 [directory_name]"
This does not change the permissions on the directory. Is there something I'm doing wrong?
What could be causing this? I thought that Root could do everything.
Thanks in advance.
-
July 2nd, 2002, 04:58 AM #2
chmod 0777 directory_name
That gives the whole world full access to that directory.
Regards
eddyI dreamt that a large eagle circled the room three times and then got into bed with me and took all the blankets.
-
July 2nd, 2002, 07:16 AM #3Retired mostly.
- Join Date
- Oct 2001
- Location
- Finland
- Posts
- 5,150
If you aren't the owner of the directory and the permissions are 700 then you shouldn't be able to change the permissions. Unless you take ownership of the dir with 'chown'.
I recall linux being strict about those.
chmodding a dir has always worked for me, though I set the perms of dir to 711 rather than 777.
-M
-
July 2nd, 2002, 07:58 AM #4
root can change permissions on a directory with out being the owner.
Regards
eddyI dreamt that a large eagle circled the room three times and then got into bed with me and took all the blankets.
-
July 2nd, 2002, 08:08 AM #5Retired mostly.
- Join Date
- Oct 2001
- Location
- Finland
- Posts
- 5,150
Thanks for correcting the wrong I did

-M
-
July 2nd, 2002, 08:11 AM #6
hehe... np

Just read my post & it sounded a bit rude... didn't mean to be, I am stealth posting from work
I dreamt that a large eagle circled the room three times and then got into bed with me and took all the blankets.
-
July 2nd, 2002, 10:13 PM #7Originally posted by SpookyEddy
root can change permissions on a directory with out being the owner.
But that's my whole problem. I am doing this as root?
I had some heat issue that caused my system to crash a number of times. When restarting the machine, I saw something about my filesystem having read-only permissions but that message is no longer there. Could this be causing my issue???
-
July 3rd, 2002, 01:16 AM #8Retired mostly.
- Join Date
- Oct 2001
- Location
- Finland
- Posts
- 5,150
I think I crashed my linux some long time ago, and upon boot it told me read only... I think I ran fsck and all went fine again...
Is there any error message resulted in trying to set the permissions?
-M
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks




Reply With Quote

I can still remember days past Watch Monsters University Online And the sad thing is, Don was actually acting out for the right reasons this time. Ted has it in his head the Don is set on besting...
I can still remember days past