Solved

Setting Folder Permissions FC2

Posted on 2004-10-02
3
416 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 250 total points
ID: 12209431
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
ID: 12209514
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
ID: 12209610
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

718 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