Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-27-2005, 01:08 AM
|
#1
|
|
Member
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154
Rep:
|
Forcing permissions
i have a directory in my root called "/public", i made it so i could make a place where all users had access to. It's pretty nice since i can have everyone use the same wine settings. The problem is that when i put something in there, i have to go to it and change the permissions to either 666 or 777. Is there anyway I can make it so that everything in the /public folder will be 666 or 777?
|
|
|
|
02-27-2005, 01:22 AM
|
#2
|
|
Member
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: fedora, slackware, suse
Posts: 447
Rep:
|
It is a bit of a hack, but you put a file in /etc/cron.hourly with the following line:
chmod -R a+rw /public
This will fix up the files once an hour. You could do this more frequently with a specific crontab entry. More sophiticatedly, you could use a find (again in script or cron) to discover the files with "incorrect" permissions, and just fix those. This would avoid reseting the ctime for all the files whenever the script was run.
|
|
|
|
02-27-2005, 04:10 PM
|
#3
|
|
Member
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154
Original Poster
Rep:
|
i don't put files in it too often, so i didn't think i'd setup a crontab, thanks anyways though
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:40 PM.
|
|
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
|
|