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 11-13-2004, 02:39 AM   #1
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Rep: Reputation: 30
FOLDER permissions change automatically


Hello Folks:

I am using Mandrake 10. I am trying to creat a folder that is readable & writable by everyone.

When I log into a console as root and chmod 777, is works for about an hour and then the permissions change back automatically somehow.

If this is the chrontab doing this, should I edit the chrontab, and how do I do that?

Is there a better way to make a folder readable & writable by everyone?

Thanks!
 
Old 11-13-2004, 03:53 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
There is a cron program called msec that checks for security problems and may reset the permissions of certain directories. One of the default rules is
for the /home/* directories which will reset the permissions to 0755.

You can access the gui setup for this program (drakperm) in the Mandrake Control Center. It's under 'Security -> Permissions' or directly /usr/sbin/drakperm.

What you will need to do is to add a custom rule.

Last edited by jschiwal; 11-13-2004 at 03:55 AM.
 
Old 11-14-2004, 10:09 PM   #3
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Original Poster
Rep: Reputation: 30
Okay, I got that complete. Ther permission to RW is now allowable all the time.

However, now....I'm trying to make this share folder so that anyone can access (RW) AND change (RW) documents by others who place documents there.

So, when I place a document there via my windows box, another client should be able to access and edit it. Is there a whay to have any files saved in the PUBLIC SHARE FOLDER by anyone become editable by anyone automatically?
 
Old 11-18-2004, 06:50 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
You need to check your /etc/smb.conf file. It may be sharing the folder read-only.
 
Old 11-18-2004, 01:20 PM   #5
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Original Poster
Rep: Reputation: 30
It's working for the most part. Anyone can read and write to the PUBLIC SHARE, but others cannot edit other peoples files.

In other words, the ownership is set to whoever saved the file there - which are by default, not editable by others. Is there a way to change ownership automatically to a globally editable file?

Is there an OWNERSHIP profile that is editable by anyone on the computer?
 
Old 08-21-2005, 04:09 AM   #6
nglbrkr
Member
 
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Blog Entries: 9

Rep: Reputation: 17
you need to use
force group = groupname (maybe nogroup?)

in the share definition in smb.conf
 
  


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
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
Absolutely CANNOT change folder permissions help! leemoreau Ubuntu 4 04-26-2005 11:30 PM
Script to change folder permissions waitingforOES Linux - Newbie 1 03-07-2005 02:34 PM
Folder permissions help Seventh Linux - Newbie 2 04-22-2004 06:56 PM
Change folder permissions eggoz Linux - Newbie 2 03-17-2003 02:35 AM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
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