Hi everyone - I'm using Samba to mount Unix file systems on an NT 4.0 box. The Unix file system is shared out as writable, and guest ok, but it appears as read only in NT. Here's the smb.conf: [global] workgroup = WORKGROUP guest account = guest browsable = yes [homes] browsable = no writable = yes [test] path = /usr/people/rlane/test writable = yes guest ok = yes comment = test file system Any thoughts? Thanks -
Hi Samba people I have been wondering about file permissions via Samba for a while, and if anyone could help me solve the following two problems, I would be grateful: System: Linux RedHat 4.2 (kernel 2.0.33) Samba : Version 1.9.18p3 . I want to set access permissions for everyone in a certain directory (777). The reason is that Windows and Macintosh users need to be able to access, write, change .. the same files. No matter how I change these settings in smb.conf, I can't seem to get the files to be saved with world write permission. Relevant section from smb.conf : ---- ; A publicly accessible directory, [public] comment = Public Stuff path = /home/pub public = yes only guest = yes writable = yes printable = no force create mode = 0777 ---- . I also seem to get a file's execute bit set whenever saving to the Linux box from a Windows machine. How do I set it up that the files get saved with the permissions that I specify? Thanks for any help. Jason
>Date: Sun, 7 Jun 1998 21:06:53 +0200 (SAT) >From: Jason Armstrong <jason@datrix.co.za> >To: Samba mailing list <samba@samba.anu.edu.au> >Subject: Permissions >Message-ID: <Pine.LNX.3.95.980607205159.4487B-100000@phoenix.datrix.co.za> > >Hi Samba people > >I have been wondering about file permissions via Samba for a while, and if >anyone could help me solve the following two problems, I would be grateful: > >System: Linux RedHat 4.2 (kernel 2.0.33) >Samba : Version 1.9.18p3 > > I want to set access permissions for everyone in a certain directory (777). > The reason is that Windows and Macintosh users need to be able to access, > write, change .. the same files. No matter how I change these settings in > smb.conf, I can't seem to get the files to be saved with world write > permission. Relevant section from smb.conf : > > ---- > ; A publicly accessible directory, > [public] > comment = Public Stuff > path = /home/pub > public = yes > only guest = yes > writable = yes > printable = no > force create mode = 0777 > ---- > > I also seem to get a file's execute bit set whenever saving to the Linux box > from a Windows machine. How do I set it up that the files get saved with the > permissions that I specify? > > Thanks for any help.Hi Jason, you have set the parameter in smb.conf: force create mode = 0777, you also need to add: force directory mode = 0777 (since samba 1.7 this one needs to be set separately, otherwise you will have problems as soon as a user creates a new directory). The setting in smb.conf do not change existing files, only new files that are created, take a look at the current filepermission under UNIX, on the server side, try to use: chmod [-R] guo+rwx directory, to initially set permissions for the whole directory Maybe this will work, Christoph Mueller mueller-dlg@t-online.de
Hi there, I'm administrator on a small network using a Linux based server with Samba 1.9.18p8 and Win95 clients. The Linux machine is sometimes used as a workstation, too. Default smb.conf coming with the Linux distribution (SuSE 5.3) has an entry *create mode = 0750* for homes-services. That means, all files written from a specific client to his home directory are set to *executable by owner*. Changing smb.conf to *create mode = 0650* all files are *readable/writable by owner*, right? Ok, now the problem: I would like to backup some config files and basic shell scripts from the Linux machine to my Win95 client (using a special backup folder with restricted access). Copying these files back to the Linux machine I get all files executable or none, no matter whether they are script files or not. Is there any possibility to keep the original Linux permissions? CU - Juergen
Is it possible to allow a program/directory/share to be opened by 1 user at a time? The program uses a database that can only be opened by one user at a time else it gives a GPF.
Bart, On Sat, 2 Jan 1999 03:18:27 +1100, Bart Haezeleer wrote:>Is it possible to allow a program/directory/share to be opened by 1 user at >a time?You might try 'man smb.conf' and look out for 'max connections'. Hasta la vista, Robert -- --------------------------------------------------------------- Robert.Dahlem@frankfurt.netsurf.de Radio Bornheim - 2:2461/332@fidonet +49-69-4930830 (ZyX, V34) 2:2461/326@fidonet +49-69-94414444 (ISDN X.75) ---------------------------------------------------------------
Hi, Just thinking about this now... although I changed the permissions on the /var/log directory to 750, root is the owner, and group. Why would closing off other's access stop the browser from working in Win95? However, samba log files were being updated. Is there something inparticular that Samba is looking for in /var/log that it would stop master browser? Thanks Regards, Richard Jones NOS Administrator WEA Mfg Olyphant, PA 18448 (717)383-3291 ext 2381 Fax: (717)383-6837
Here is my question I have a samba share, and am also exporting that share via netatalk, when someone from the Mac side creates a file or folder the permissions of the file are defaulted to that of the directory, yet when a user does the same through samba, the permissions are always read only, and do not default to the permissions of the directory, am i crazy? did i miss somthing?
I have a small network with 6 users and 3 shared folders I am having a problem with permissions on the sub folders and when setting up the system I copied from a windows box with administration privileges into a shared folder then when a user tried to save to that folder they were not given write privileges. I am concerned I have set something up wrong.Is there a special create mode I should have on these folders? I am attaching the smb.conf file in the hopes one of you can review it for any errors I may have made. I should add the network is otherwise working and I am having no log on problems. Thanks in advance gary neff gary@gneff.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smb.conf Type: application/octet-stream Size: 1623 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/19991011/a67ba2b4/smb.obj
A non-text attachment was scrubbed... Name: not available Type: text Size: 1024 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/19991013/ce453e42/attachment.bat
I need some help, I am having a permission problem utilizing redhat 6.0 and several windowz boxes. I have setup several folders for users which seems to be working fine and have several shared folders where the problem is arising. One of the users is setup in a diffrent group :adm and all other users are :users if the adm creates a folder in the shared folder that folder does not allow write privilages to the other users. If I issue chmod -R6770 [file] everything is fixed . Until the next time the adm creates a folder inside the shared folder. I thought the shared folder would maintain privilages down the line but that is not what I am experiencing. What can I do to rectify this problem. thanks in advance I should add I have the linux box set up as the domain server and ipmasq is running which was prime reason the client wanted the system, I have everyone logging into nt domains and all that is working great. Gary Neff gary@gneff.com
once again I have the same problem can anyone help , I have several share folders that I want everyone to be able to read write and delete and I have create mode set at 0750 in homes but thats not working, I can change permissions on the fly but want the client to be able to add a document and then have another user modify it . I am looking for something to enable this share in the directories only can anyone help , please reply direct as I am in the middle of programming this machine. Thanks in advance. Gary Neff gary@gneff.com http://www.gneff.com -------------- next part -------------- HTML attachment scrubbed and removed
On Wed, 1 Mar 2000 01:25:26 +1100, hai scritto:>once again I have the same problem can anyone help , I have several share >folders that I want everyone to be able to read write and delete and I have >create mode set at 0750 in homes but thats not working, I can change >permissions on the fly but want the client to be able to add a document and >then have another user modify it . I am looking for something to enable thisYou want to do this in a dir that is not the homedir of any user. Say that user1, user2 and user3 share a common groupA group, then all the users will be able to write/edit files created by the other 2 if: A) setgid solution chown root.groupA /path/top_shared_dir chmod 2770 /path/top_shared_dir in smb.conf: create mask = 0660 directory mode = 2770 force create mode = 0660 force directory mode = 2770 B) chown root.groupA /path/top_shared_dir chmod 0770 /path/top_shared_dir set in smb.conf: force group = groupA create mask = 0660 directory mode = 0770 force create mode = 0660 force directory mode = 0770 Solution A works for files created on the unix side too. -- giulioo@pobox.com
Heeelllp, I am strugling with permisions for Samba. I must have missed something. I have chmod the parent folder. I have set up a group and made all users part of the group. I have set file permissions for everybody to access all files. The problem I have is that each time someone opens a file the group write permissions are reset and nobody else can edit that file. If you go to the samba server and change the permissions anybody can open and edit the file and save but then noone else can write to it until the permissions are altered. When you create a file it is created under the group but without group write access. Have I missed a setting in smb.conf. How is one supposed the share files if other members of the group cannot access it. Thanks Martin -------------- next part -------------- HTML attachment scrubbed and removed
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smb.conf Type: application/octet-stream Size: 5153 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020905/c6f5f660/smb.obj
security = share This is IMHO not good. You should use security = user when you are using smb passwd file = /etc/samba/smbpasswd encrypt passwords = yes Jan Kovar -----Puvodn? zpr?va----- Od: Greg Galvin Odesl?no: 5. z?r? 2002 11:53 Komu: samba@lists.samba.org Predmet: [SAMBA] Permissions I am attempting to design a server with a public access folder and a folder for each user. My problem is that I cannot get past the authentication dialog box when assigning a username and password in Linux. Attached is my smb.config file. Thanks for the help Gregory Michael Galvin Registered Patent Agent 5263 State Route 132 Batavia, Ohio 45103 (513) 732-0005 ggalvin@patent-advocates.com
Howdie all How would I give a user certain permissions on a win 2000 box. I have certain programs that require high permission such as poweruser and so on ,how would I make a samba user have poweruser permission on a win2000 box Thanks a lot ryan
On Wed, 19 Mar 2003 11:28:44 +0000 (UTC), Ryan Oberto wrote:> so on ,how would I make a samba user have poweruser permission on a win2000 > boxLogin on the Win2000 box as local administrator, open the users control panel and add the domain user as a Power User. -- Ciao, Marco. ..."Skylarking", XTC 1986
Hi folks, I went thru archives but didn't find a definitive answer. I need to create a samba share, which will imitate win2k settings, including the "special" permission like full access etc. My software, running on Win2k needs to scan for new files a shared directory, which is on the samba share. Now it ends with an error saying "Cannot monitor source directory". I believe the problem lies in these permissions. I'm using 2.2.3a thanks Robert
Hi Group, I set up samba3.0 to work as ADS-Member-Server. I created a share called /test and chown group to gg_test to it. Access to share works without any problems. I also can add files and directories to this share. When I now make ln -l, the files I added got the group-permissions "Domain Users" and not gg_test, as I expected. Do someone know a solution? Thanks in advance. Regards Dominik Brosch