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 23rd July 2012, 05:53 PM
lightman47 Offline
Registered User
 
Join Date: Apr 2009
Posts: 266
linuxchrome
chmod dilemma

I'm using Thunderbird for email with the addressbooksynchronizer addon. The book share is to a network drive and works almost well.

I've revisited the chmod references and again found out how to "sticky" the Group on folder and it's files and it works great. What is vexing me though is that whichever user the WRITES the addressbook sync file changes the permissions to only User RW. The group permissions are completely removed every time the file gets written. Needless to say that when others go to update the file the save "bombs". It gets uglier after that, but no need to go into it.

How can I get chmod to 'sticky' all the permissions, but especially group permissions - or perhaps I can't.

Thank you.
Reply With Quote
  #2  
Old 23rd July 2012, 06:38 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: chmod dilemma

Have you thought about changing the umask when you mount the network share from the default of 022 to 002?

002 should allow owner and group members to have writable permissions and others to have read-only permissions
Reply With Quote
  #3  
Old 23rd July 2012, 06:55 PM
lightman47 Offline
Registered User
 
Join Date: Apr 2009
Posts: 266
linuxchrome
Re: chmod dilemma

It looks like I am going to study umask in the very near future. Thanks. However, this single, shared folder isn't a separate mount - it's actually several directories down the tree on a shared drive - to which the sync addon has the specified path. Knowing nothing yet about umask, my suspicion is that might matter. <??>

That said, for the time being I just scheduled a crontab every minute to chmod 770 the directory and it's contents. I hate wasting all those cycles although the machine isn't all that busy.
Reply With Quote
  #4  
Old 24th July 2012, 09:50 AM
BinaryBandit Offline
Registered User
 
Join Date: Nov 2008
Location: 90 Mile Beach, South East Coast, Australia
Posts: 98
linuxchrome
Re: chmod dilemma

G'day lightman47,
umask should do what you require, if the people in your group already have read access to your file then you only need to create the file with different umask settings, I suggest you read this little tutorial to determine which settings you need to use.
umask settings can be altered temporarily on a per log in basis or set permanently when each file or directory is created.
I hope this helps,
The Bandit.
__________________
Where's the Any key?
Intel i7 3770K
Intel HD 4000 Graphics
Fedora 17 x86_64 Beefy Miracle on 2x1tb Seagate Sata3 HDD
Reply With Quote
  #5  
Old 24th July 2012, 04:09 PM
lightman47 Offline
Registered User
 
Join Date: Apr 2009
Posts: 266
linuxchrome
Re: chmod dilemma

Checked out umask and applied it to my directory, but that really isn't what I am looking for. Umask ALLOWS access - I need to FORCE permissions (RW) for a program that is removing them (the group permissions) when it writes/updates the file. Thanks for the help, though.
Reply With Quote
Reply

Tags
chmod, dilemma

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
Dial-UP dilemma Beralus Servers & Networking 0 19th March 2010 10:15 PM
Two Card Dilemma Beastlicker Hardware & Laptops 2 2nd January 2010 07:45 PM
Networking dilemma Gscope Servers & Networking 7 22nd June 2006 10:52 AM
Server Dilemma mh10190 Servers & Networking 0 15th April 2006 08:20 AM
moral dilemma... karl_marx Wibble 8 14th October 2005 11:17 PM


Current GMT-time: 15:18 (Tuesday, 21-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