LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-29-2009, 05:53 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Rep: Reputation: 30
Question Ubuntu - Parent / Child Problems


Good Afternoon,

My problem:

I have an external usb hdd, formated ext3, to use as storage. I am having trouble changing the child permissions of subfolders. It seems the files within the subfolders properly change permissions, but not the subfolders themselves.

To illustrate:

I logged in as admin (not root, just an account in the admin group), loaded several data DVDs and copied their contents to the external hdd. Then I went into root (sudo nautilus) and picked the main folders, which contained the numerous subfolders. For these main folders, I changed permissions to allow "users" group read / write access. I made sure to select the "apply to folder contents" option, or whatever that option was called.

However, later I logged in with a regular user account (in user group, not admin group). With this user, I could open the main folders, but none of the subfolders within.

Later still, I login as admin and check the subfolders. The "group" is listed as "admin" instead of "users". Thus, the parent (main) folder changed its permissions but not the child (sub) folders.

Any insight?
 
Old 08-30-2009, 07:21 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
I don't think nautilus will recursively change the group ownership of subfolders, it will only change the permissions.

It is a bit more effort, but you can change ownership from the command line terminal, eg
Code:
chown -R admin1:users folder
(where "admin1" is the name of your admin account, and "folder" is the folder to be changed).

As far as I know, this has not been fixed in nautilus. I think your expectation of how it should work is correct.
 
Old 08-30-2009, 06:51 PM   #3
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by neonsignal View Post
I don't think nautilus will recursively change the group ownership of subfolders, it will only change the permissions.

It is a bit more effort, but you can change ownership from the command line terminal, eg
Code:
chown -R admin1:users folder
(where "admin1" is the name of your admin account, and "folder" is the folder to be changed).

As far as I know, this has not been fixed in nautilus. I think your expectation of how it should work is correct.

neonsignal,

So, I was correct in expecting it to work "my" way. I thought so, but I so easily make mistakes that I figured it was something I did wrongly.

I hope the gnome / nautilus team gets on this. I never had this problem in KDE.

Thanks.
 
  


Reply



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
File descriptors shared between child and parent causing parent to hang. bharadiaam Linux - Newbie 1 03-02-2009 01:01 AM
parent and child processes skora Programming 5 11-02-2003 10:41 AM
about parent and child process winwar Solaris / OpenSolaris 3 07-23-2003 06:07 AM
child and parent process error jdevanand Programming 1 04-29-2002 08:13 AM
child-parent-&-fork mukul Programming 2 03-24-2001 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:56 PM.

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
Open Source Consulting | Domain Registration