Solved

Setting Folder Permissions FC2

Posted on 2004-10-02
3
374 Views
Last Modified: 2010-05-18
Hi, I'm having a bit of difficult with permissions.  As root, I created a folder /TEST, then i did the following:

chmod 777 /TEST
chown ryan /TEST
chgrp ryan /TEST

then i do ls -l and get

drwxrwxrwx ryan ryan ....... TEST

everything looks good, so I close the terminal window and just use the gnome shell.  I browse to the / directory and then try to delete the folder, and i get an error saying that I dont have ther permissions to do this, so I right click on the folder to check the properties  and all users have read/write/execue on the folder and i am the owner .

Why can't I just delete this folder?  It doesn't seem to make any sense.  Am I missing something serious here?


Ryan
0
Comment
Question by:ryanstarret
3 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 250 total points
Comment Utility
I would guess you cant delete the folder because you dont have read and write permision to the root directory in which you created your TEST directory.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
owensleftfoot is correct. It's the permissions on the folder above this one (/ in this case that goven whether you can delete it. And if you think about it that makes sense. It is the parent that get's modified when you delete a file or dir..
0
 
LVL 1

Author Comment

by:ryanstarret
Comment Utility
interesting... i guess that just gonna be a limitation of some sort.  makes sense... and I woudn't want to change that.  Thanks for the help.

Ryan
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now