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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-13-2004, 01:39 AM
|
#1
|
Member
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242
Rep:
|
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!
|
|
|
11-13-2004, 02:53 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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 02:55 AM.
|
|
|
11-14-2004, 09:09 PM
|
#3
|
Member
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242
Original Poster
Rep:
|
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?
|
|
|
11-18-2004, 05:50 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You need to check your /etc/smb.conf file. It may be sharing the folder read-only.
|
|
|
11-18-2004, 12:20 PM
|
#5
|
Member
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242
Original Poster
Rep:
|
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?
|
|
|
08-21-2005, 03:09 AM
|
#6
|
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Rep:
|
you need to use
force group = groupname (maybe nogroup?)
in the share definition in smb.conf
|
|
|
All times are GMT -5. The time now is 03:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|