Solved

Setting Folder Permissions FC2

Posted on 2004-10-02
3
392 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nagios 4 php error after installation 6 94
Can't ping New Linux Servers 40 66
open source backup solution 1 29
AWS Central Authentication 1 64
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

777 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