LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SAMBA Public Share Folder (https://www.linuxquestions.org/questions/linux-software-2/samba-public-share-folder-254256/)

Echo Kilo 11-13-2004 01:52 AM

SAMBA Public Share Folder
 
Hello!

I am trying to create public share a folder (using SAMBA) that everyone (ie. windows clients) can read and write to.

What happens is, I set the permissions on the Linux side as 777 and it works fine, but after an hour, the permissions autmaticaly change back to 755.

Is this the Linux system doing this or is it SAMBA that changes it?

Is there an owner name that I can make so that all clients can Read and Write because the only permission that seems to stay the same is the owner permissions.

Thanks!

Echo Kilo

jschiwal 11-13-2004 02:20 AM

Please include which distro you are using. Entering your distribution in 'User CP' may be a good idea because then you don't have to remember to include it in your message every time. The reason that I ask is because some distro's include a service that will reset the permissions on directories. You can go to the Permissions / Security setup to change the default behavior. This program will be run either hourly or nightly by cron. If there is such a program on your system you may wish to have root's mail sent to you so that you. The report will warn of world writeable files and directories found.

greenday_ra 06-17-2008 12:32 AM

Hi

I have a same problem.
I want a share folder on my ubuntu for windows client users.

which is the best way to do that?

billymayday 06-17-2008 01:32 AM

I always thinks its a good idea to read at least the start of http://us3.samba.org/samba/docs/man/Samba-Guide/ or the official howto on the samba site. it will, if nothing else, get you to the point where you can ask some specific questions (or in the case of post #3, I suspect give you a direct example).

EK, do you have something like

Code:

create mode = 777
directory mode =755

in your share definition?


All times are GMT -5. The time now is 01:05 AM.