Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th June 2005, 02:46 PM
byw's Avatar
byw Offline
Registered User
 
Join Date: Aug 2004
Location: North Bucks, England
Age: 23
Posts: 47
Folder Permissions

Hi

What is the best way to change a home directories permissions and all of the files and folders in it? You can use gnome to manually change all of the permsissions though with many files this is not appealing. Could i write a script to do this?

Thanks
Reply With Quote
  #2  
Old 16th June 2005, 03:02 PM
critter's Avatar
critter Offline
Registered User
 
Join Date: Jun 2005
Location: Netherlands
Posts: 150
chmod with the -R option for recursive. But why would you want to change that for your home directory?
__________________
Critter: A domestic animal or a non-predatory wild animal.
Reply With Quote
  #3  
Old 16th June 2005, 03:15 PM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
If you were trying to change the permissions recursively to allow for everyone to read and write the files contained within the filestructure you would want to open a command line and:
Code:
chmod -R o=rw
This would make it so as "others" (i.e. not the original user or group it belongs to) could read and write to the file. This isn't a very satisfactory method however, and if you could explain why you want to do this then we could probably suggest a more secure method of allowing the files to be shared. Such as by the use of groups.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #4  
Old 16th June 2005, 03:27 PM
byw's Avatar
byw Offline
Registered User
 
Join Date: Aug 2004
Location: North Bucks, England
Age: 23
Posts: 47
I have just updated FC3 to FC4 though did not use the standard upgrade option, and told Fedora just to leave the drives as they were, now I need to reset the permissions to allow my samba users to get to their directories
Reply With Quote
Reply

Tags
folder, permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
no access to folder even though permissions are right simta Using Fedora 9 28th January 2009 04:38 AM
permissions on a folder. xptweakerntn Using Fedora 1 30th December 2006 07:33 PM
Folder Permissions? carlwill Using Fedora 2 31st March 2005 03:15 AM


Current GMT-time: 02:39 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat