OpenSUSE Network :: SAMBA - Changing Default Permissions On Files And Directories Created From Windows Clients

Mar 9, 2010

I have a fileserver running openSUSE 11.2 and samba services for file access from MS Windows based workstations. My question relates to changing default permissions on files and directories created from the windows clients.

Following are extracts of the /etc/samba/smb.conf file :

Even with the above entries, sometimes there are files and directories created by the windows clients having permission

Probably my lack of understanding in ACLS.

View 9 Replies


ADVERTISEMENT

Ubuntu :: Samba - Get The Correct Default Permissions When Users Create Directories Through Windows?

Apr 1, 2010

I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:

[Code]....

At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:

[Code]...

how I can get the correct default permissions when users create directories through Windows?

View 1 Replies View Related

Ubuntu :: Set Default File Permissions For Newly Created Directories?

Nov 18, 2010

I'm just wondering: I know that umask sets the default file permissions for files, however I want to know if there is anyway to set default file permissions for newly created directories.

For example, I want my user to create new directories that anyone can access and modify (777) but I want the new files the user creates to be 755 (read by everyone, written only by user).

Is this possible?

View 1 Replies View Related

Security :: Group Write Access For Newly Created Files / Directories Without Changing Umask

Apr 3, 2009

I have several directories, each owned by root and a group of the same name,By setting the sgid bit, I made sure that newly created files and directories are owned by the correct group, and that directories have the sgid bit set too.On each newly created directory or file, the permissions are set to 755. This is because this is the default umask, and I cannot change a users umask. I actually only want files created below a particular directory to have group write access, inheriting this behaviour to newly created directories properly.I'm not on samba or NFS, I have to do this for SSH users.The filesystem is ext3.I started to fool around with ACLs, but couldn't find what I was looking for.

View 3 Replies View Related

Server :: SAMBA To Share Network HDD With Permissions To Clients?

Jan 12, 2011

In my work I want to build up a Linux based network, where windows and linux clients are going to share a Thecus network drive.Each client will have specific permissions for accessing the samba shares. I have installed Ubuntu SRV 10.4 with gui and webmin.

View 1 Replies View Related

Debian :: Change Default Permissions For Newly Created Files?

Jan 19, 2011

I'm new to Debian. I've read the documentation on this but it is too heavy for a new user to understand. I would like to change the default permissions for newly created files/directories.

I want all newly created files by 'user1' to have the default permissions of:
1. "owner can read and write"
2. "group can read and write"
3. "other can read only"

Permission 1 and 3 are already default. But I would like number 2 to be default as well. (the current default for group is read only).

View 9 Replies View Related

Server :: Samba Permissions - Files & Directories Can't Be Renamed / Moved / Deleted

Feb 10, 2010

After what feels like weeks have tinkering around trying to get a Samba file server set up, I've finally given up! I have 4 drives and 2 groups:

1) Dev - Available to all users in both groups (normal and admin)
2) Misc - Available to users in admin group only
3) Admin - Available to users in admin group only
4) Accounts - Available to users in admin group only

Drives 1 and 2 are working fine, with the correct access rights. Drives 3 and 4 can be browsed by admins only, but no changes can be made at all - files & directories can't be renamed/moved/deleted. What is most confusing is that Drive 2 is set up exactly the same as Drives 3 and 4. The process I went through to get them working:

[Code]...

View 2 Replies View Related

OpenSUSE :: Change Default Permissions For New File Created With Dolphin?

Jun 28, 2011

When I create a new file/folder in a ext4 data partition, it has permissions:

owner: rwx
group: r
other: r

I would like to change this default to:

owner: rwx
group: rw
other: -

I tried changing fstab, but umask and guid are not supported mount options for ext4. What can I do?

Note: I know I can do a chmod, but I don't want to do this again and again for every new file I create.

View 9 Replies View Related

OpenSUSE Network :: Attach Ms Dos Clients To Samba?

Jan 18, 2010

i have an Opensuse 10.3 server running samba and i just wanted to know how i could attach ms dos clients to samba if thats possible,i tried downloading TCP/IP software for dos but i could not find anything on the net that works.

View 9 Replies View Related

OpenSUSE Network :: Transfer Speed Between Samba Server And Win Clients

Mar 12, 2010

I have the problems with transfer speed between samba and Windows XP clients.

Samba server configuration:
Quad Core 6600 CPU.
4 Gb RAM
OpenSUSE 11.2 with kernel "2.6.31.12-0.1-desktop"
Samba - samba-3.5.1-1.1.i586
Test: 4 GB File copying. One file.

Transfer speed from Samba Server to Windows 7 and XP clients:
(Windows clients copy file from Server share -> to local drive)
From Server to Windows 7 client 1:
85-90 Mb/sec
From Server to Windows 7 client 2:
90-100 Mb/sec
From Server to XP1 client 3
75-100 Mb/sec

Transfer speed from Windows 7 and XP clients TO Samba Server:
(client copy file from local drive -> to server Share)
From Server to Windows 7 client 1:
12-20 Mb/sec
From Server to Windows 7 client 2:
30-35 Mb/sec
From Server to Windows XP client 1
20-27 Mb/sec

(Copying file from Windows local drive to Windows remote share)
From Window 7 client 1 TO Windows XP client 1
40-50 Mb/sec
From Window 7 client 2 TO Windows XP client 1
50-60 Mb/sec

Copying file from Windows 7 client 2 share -> TO Windows XP client 1 show me 100-120 Mb/sec speed permanent.
Copying file from Linux hosts to NFS server is stable 50-90
Mb/sec bidirectional.

This part of my smb.conf file
Code:
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2009-10-27
[global]
log level = 1
debug level = 0
max log size = 50 .....

I have very slow write speed when copying file from Windows clients to Samba Share. Samba speed is slower than Windows native clients connections ?

View 9 Replies View Related

Software :: Disable ACL Permissions From Being Created In A Samba Share?

Jan 20, 2011

Certain files are being created with ACL permissions attached. I am not sure why. Is there a smb.conf option that will stop this from happening?

View 2 Replies View Related

Server :: Weird Permissions In New Folder Created Over Samba When Extended ACLS Are Used

Nov 24, 2010

i'm setting up a common public folder on a file server, but I seem to be getting some permission differently to what I expected. The folder is /temp which is a separate drive. The fstab entry is:

[Code]....

View 5 Replies View Related

Networking :: Samba - Permissions Of Shared Directory And Directories Above It?

Oct 20, 2009

I am running Ubuntu 9.04, and wish to share a folder to be accessed without logging in via Windows Vista. If I set up the share through the nautilus right-click menu and enable "Guest Account", the share is inaccessible. The folder shows up, but it fails to mount. Vista says that it can see the computer, but not the shared folder.

The folder is

/home/william/shared

The only way I can get it to work is if I change the permissions of the folder /home/william to allow Others to access files.

View 1 Replies View Related

OpenSUSE :: Migrating (many) .tex Files Created In WinEdt Under Windows XP

May 4, 2010

I am migrating (many) .tex files created in WinEdt under Windows XP to Kile under openSUSE. Kile uses by default UTF-8 encoding, whereas my files are apparently ANSI... I infer this last from my failed attempt to manipulate WinEdt into encoding in UTF-8 for me, as follows: I had inserted the comment

% !Mode:: "TeX:UTF-8"

into my .tex file (following Re: UTF-8). When I had WinEdt open this file it objected in no uncertain terms: ``The file is not in UTF-8 format: Loading as ANSI.''

Summarizing, WinEdt provides me files encoded as ANSI. Yet in Kile -> Settings -> Configure Kile -> Open/Save there is no option to select ANSI.

Kile will open these files in read only mode, and I can then save them with a new name, and proceed -- but it would be more satisfying to know the ``proper'' approach to this.

View 6 Replies View Related

Ubuntu :: Changing Default Permissions Of /dev/sdb

Jan 4, 2010

im looking to allow virtualbox raw disk access to /dev/sdb

currently if i

ls -l /dev/sdb
brw-rw---- 1 root disk 8,2010-01-04 17:00 /dev/sdb

now if i chmod this to 777 or use chown to change the owner this temporarily works but after a few moments it defaults back to its original permissions.

is there a way i can define the permission? i was thinking fstab but i can't have a mount point?

View 5 Replies View Related

Networking :: Default Owner For Samba Shared Directories

Aug 8, 2010

Is there an option for default owner of files and directories in Samba-shared dirs?

View 4 Replies View Related

Software :: Change The Permissions Of The InfoBright Created Files?

May 12, 2010

I have a NFS shared directory between two linux machines, one with RedHat3 and one with CentOS 5.4.On the CentOS 5.4 machine I have InfoBright installed. In that directory, I want to create files with InfoBright and then to select from them with MySQL on the RedHat3 machine.The problem is that InfoBright creates files with 660 permissions and mysql with 666, and I cannot SELECT from any file due to the fact that is not "readable by all"(this is the actual error). I can change the permissions manually, but I need them to be created with 666 permissions, so that I can import them automatically on the other side with a script.Is there any way to change the permissions of the InfoBright created files?

View 3 Replies View Related

Ubuntu Servers :: Server Process Created Files Permissions

Nov 20, 2010

Currently have access to a VPS where we are running a small game server on ubuntu - the problem is that it is a multi-user environment, so when one person restarts the server process, all files it creates are owned by that users name and group. I have created a group called 'game' and added both users to it, but I need to know how to make all files in the game server's directory to be r/w/x for the group 'game'. Currently, I have a script that chowns and chmods all files recursively on startup, but I'd prefer not having to do this.

View 4 Replies View Related

Networking :: Sharing Files On Windows Network Using Samba?

Sep 18, 2010

I am using ubuntu 10.04 .I tried to share my files on windows network using samba , I changed theworkgroup name in samba configuration file ..but it dint work for me will you please tell me the exact procedure to share the files on windows network ..

View 7 Replies View Related

General :: Vim - Avoid Changing A File's Linux Permissions When Saving Over A Samba Connection?

May 28, 2011

I have an Ubuntu development server and a Windows 7 workstation. I use Windows Gvim to edit files on the linux server, over a samba connection.Saving files from Windows change the Linux permissions in weird way depending on the Windows app I'm using and also depending on whether there's a file extension or not.Here are some testsNo extension; Notepad2: 644 to 764

matt@mattserver ~ % ls -l testfile
-rw-r--r-- 1 matt matt 0 2011-05-28 07:09 testfile
--- Save from Windows Notepad2 over network ---

[code]....

View 1 Replies View Related

CentOS 5 :: Why Do Files Created Via Samba Have Nobody Ownership?

Apr 21, 2011

files and directories are NOT being created with consistent ownership and permissions: when created via Samba, they are created with user/group = nobody, and when created via the OS, they are being created with user/group = root.This causes problems with our automated tools that access the server (via Samba) and do a variety of file system operations (which need root privileges).How do I cofigure Samba so files/directories are created with user/group = root?

View 3 Replies View Related

General :: Using Chmod(), Function To Set Permissions For My Files/directories?

Feb 16, 2010

I am using chmod(), function to set permissions for my files/directories.How can I set -R flag for it???

View 4 Replies View Related

Ubuntu :: SAMBA Default File Create Permissions?

Mar 28, 2011

Files saved on our ubuntu server via samba server are all being created/saved as read only (-rwxr--r--). The users are MAC Users who are connecting via finder.I have taken 2 steps:First I added the lines "umask 0000" to the .bashrc files in the users' home directories.Second, I have modified the /etc/samba/smb.conf file such that I set "create mask = 0000" and also "directory mask = 0000" but the files are still being created as "-rwxr--r--".

View 1 Replies View Related

OpenSUSE Network :: Windows 7 And Windows LiveID Sign-In Assistant Working With SAMBA?

Dec 10, 2010

I have 3 computers. One running openSuse 11.3 with SAMBA and the other 2 are Windows 7 Professional boxes. I have the same user name and passwords for all three boxes.

From the Linux box I can access one of the Windows 7 boxes but the other won't accept my user name and password. The one that won't accept has Windows LiveID Sign-In Assistant installed. Apparantly that's an automatic install now.

I've read that there is a bug with the SAMBA libsmbclient [URL].

I tried updating via YAST but still end up with version 3.5.4-5.1.2 and this doesn't work.

View 1 Replies View Related

OpenSUSE Network :: Don't Have The Right Permissions With The Client To Rename Files

Jan 30, 2011

I just performed a fresh installation of openSUSE 11.3 and ISPConfig 3 on my server. I read through the article "The Perfect Server - openSUSE 11.3 x86_64 [ISPConfig 3]" and followed the instructions closely. Everything went smoothly.

I went into ISPConfig 3 and set up a DNS zone, email mailbox, FTP client, and website all for a client I created, hoping to use the client as the main account for a web site I want to host on my server. After I finished with this, I logged onto the server through FileZilla using my newly created client's information. It took me to the "main directory" with the folders cgi-bin, log, ssl, tmp, and web. When I open "web" I see an html file named "index.html."

I tried loading a mock website into the folder, also with an index.html file, and the files transferred over properly except the mock index.html file. The program changed the name to index.html.1. I tried to delete the original index.html file but was not allowed to. I then tried to rename it to something other than index.html and kept receiving a 550 Rename/move failure message. Can anyone point me in the right direction or help me resolve this issue?

I'm thinking perhaps I don't have the right permissions with the client to rename files, but since that's the account I want as the "owner" of this web site, I need to change the permissions so I can. I tried changing the ISPConfig 3 "Limits" for the account to SSH-Chroot Options "NONE" thinking that might be the issue.

View 3 Replies View Related

General :: New Windows Xp Clients Can't Join Samba Domain / Fix It?

Aug 18, 2010

We've been running samba on linux for a while and everything was fine. All of a sudden when you add new clients to the domain you get the error message :Logon Failure:unknown user name or bad password. This to me seems like a windows error message and not a samba error. When you remove an existing machine (ie on domain) and then try to rejoin it to the domain you fail.

View 4 Replies View Related

General :: Set Default Permissions For New Folders On Mounted Samba Volume?

Feb 1, 2010

I have mounted samba volume and I need to have write permissions for every new folder that's being created (currently, by default, on every newly created folder i have only read and execute permissions).I tried changing umask, but with no effect on mounted folder, umask changed only for local filesystem. I tried mounting with umask option, but with no effect again.I'm using ArchLinux on this machine, and I installed samba using default package manager (pacman).

View 1 Replies View Related

Ubuntu Servers :: Set The Default Files Created By Www-data To 774

Jul 22, 2010

I am trying to set the default files created by www-data to 774 (umask of 003).

I go to

Code:
/etc/apache2/envvars

and have set these parameters. NOTE: The only thing I actually changed was adding the umask 003 at the end.

Code:
# envvars - default environment variables for apache2ctl
# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.

[Code]....

View 8 Replies View Related

Networking :: Centralized Authentication For Windows Clients Using LDAP/SAMBA And LAM?

Dec 29, 2008

I have been able to accomplish my goal of creating an AD-like authentication using LDAP,SAMBA and LAM. From what I have seen you can have this type of setup but it doesn't allow the passing of group policies to the desktops of the users.

View 2 Replies View Related

Server :: Replace Windows AD With SAMBA - Restrict Clients Not To Change IP

Feb 14, 2011

I want to replace Windows AD with SAMBA I want to know what policies restrictions I can get in SAMBA as compared to windows AD - whether it is possible to restrict clients not to change IP, access cdrom or control panel.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved