Red HatThis forum is for the discussion of Red Hat Linux.
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.
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.
Ah, I got it. I changed the permissions on /SharedDocs for all to have write access, then I changed the permissions on /SharedDocs/Frank for all to write. I realized root was the owner of the folders.
Is there a way that when root creates a folder that all users can automatically have full access?
About changing folder permissions, Samba has many folder mask possibilities. You don't want to change the way root creates folders, although it could be done like this.
mkdir -m 777 /somefolder
you could create an alias, but don't do it. You might forget about it.
Last edited by DavidPhillips; 11-05-2003 at 11:49 PM.
First I changed the permissions on /SharedDocs and /SharedDocs/Frank back to what they were when they were created: owner is root and only root has write permissions.
From my XP machine, I can see the Frank folder and the files in it and I can open the files. But I cannot write any other files into the folder. Is there something else I can set in Samba, or do I actually have to change the folder permissions as I had done?
Off topic: How does the affero thingy work? I pressed the button but wasn't sure what to do when I got to the next screen...
I would make a group for the users that will have access to folders, then add the users to the new group and set group permissions on the folder
ls -l /var/spool/samba
total 20176
drwxr-xr-x 2 root root 4096 Dec 19 2002 bin
drwxr-xr-x 3 root root 4096 Dec 19 2002 lib
drwxr-xr-x 2 root root 4096 Nov 2 02:04 netlogon
drwxrwxr-- 4 root users 4096 Dec 19 2002 printers
drwxrwx--- 4 root users 4096 Dec 19 2002 profiles
drwxrwx--- 3 root users 4096 Sep 8 01:40 public
ls -l samba/public
total 4
drwxr-xr-x 2 david david 4096 Sep 8 01:40 david
the david folder was created by david, the mask is as such that folders are created with read permissions for all in public.
ls -l samba/profiles
total 8
drwxrwx--- 3 root users 4096 Dec 19 2002 98
drwxrwx--- 5 root users 4096 May 18 04:07 nt
ls -l samba/profiles/98
total 4
drwx------ 12 david david 4096 Oct 7 03:10 david
likewise the profiles folders are created private
Affero will let you comment on the help you received, or leave a donation. It's been a long time since I registered there, but I think you just use your email address. I think you can use it without registering, not sure.
Basically if you click someones button you are brought to their account so what you do will apply to that person.
Last edited by DavidPhillips; 11-06-2003 at 01:10 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.