LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-22-2003, 01:49 AM   #1
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
deleting a shared folder


hi
This is the scenario which is existing
I as a root created a group call finance. I added two user abc, xyz to this group.I had a directory named testing for this group. I had given read write and execute permissions for the group.
now when i log on as user abc and try to delte the folder testing i cannot do it.
Can someone please tell me why??
I can create and delete subdirectories of testing.
Thanks
Ajay
 
Old 09-22-2003, 02:31 AM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi,

Don't forget the permissions of 'testing' are obtained from the parent directory, in your case 'finance'.

If you set 'finance' to have read write ex permissions, your users would be able to del the folder.

Hope this helps.

>Craig
 
Old 09-23-2003, 05:43 PM   #3
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Hi
finance is not a directory.It is just a name of a group created by the root and 2 users added to that group.
Thanks
Ajay
 
Old 09-23-2003, 07:01 PM   #4
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

Sorry, I read your post wrong. But still, the permissions set on an actual folder are for the files/folders that are in it.

Where is your 'testing' directory in your file system? If it is /testing normal users won't be able to delete the folder because the permission ON the actual folder are that of / the files IN the 'testing' directory are decided by the chmod you put on the 'testing' directory.

It's a bit confusing. I hope I didn't confure you even more.

>Craig
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shared pear folder ciscohead Linux - Software 0 07-25-2005 11:42 AM
shared folder varun_saa Mandriva 1 06-07-2005 02:42 AM
Removing a Directory from the Terminal without deleting each file or folder lennysokol Linux - General 4 05-31-2005 12:30 AM
Cant add folder into my shared folder? amer_58 Linux - Newbie 2 04-03-2005 12:35 PM
How do I make a shared folder under RH? Da_Quest Linux - Networking 18 08-20-2003 09:25 PM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration