Software :: Samba Permissions When Creating A New Folder 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:# ls -l# drwxr-sr-x 2 sabkar hr 48 2010-04-01 10:36 MarcTestMenuAt this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in WindowsIf I su to the Samba box and issue this command:# chmod 6770 MarcTestMenu/I now get the follow permissions on the directory:# drwsrws--- 2 sabkar hr 48 2010-04-01 10:38 MarcTestMenuand user MORAMY can access and copy files to the directory.

View 7 Replies


ADVERTISEMENT

Ubuntu Servers :: Folder Permissions Automatically Set When Creating File

Apr 27, 2010

I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it
My problem is the following: When someone create a folder, the folder permissions are automatically set with:
(let's take my username: Yann)

Owner: Yann
Group: Yann

Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring

View 2 Replies View Related

Ubuntu :: Folder Permissions In A Samba Share?

Mar 22, 2010

i have an old desktop that i have decided to use as a central point for localhost/website files. I have 2 laptops, a ubuntu and vista, and i want them both to be able to see the public_html folder on my desktop, and be able to create/update folders and files.

I have set up the samba sharing and that's working fine, but when i create folders using my laptop, they are not writeable to the desktop or other laptop because my laptop is the creator. Is there a way that I can set it so that whenever folders/files are created from either laptop, they have full permissions?

View 2 Replies View Related

Server :: Samba And NTFS Folder Permissions

Nov 17, 2010

I have a file server setup with samba integrated with swat management. The server isn't a domain controller. The file server is working well with the shares all working correctly except for one problem. I would like the users be able to manage the folder permissions from a windows PC. This can be done from a login as the root user if need be but, the key is that the system be manageable from the windows PC.

I have followed the instructions of multiple how to's but still get and error that access is denied when trying to apply permissions. I am able to search the server for users to add and the names resolve. What are the configurations that I should be looking at where the NT permissions in samba are configured. nt acl support is set to yes and any other acl settings used produce the same result.

View 2 Replies View Related

General :: Samba Shares And File And Folder Permissions - No Access To Others

Jul 13, 2011

i have 3 shares on my samba. i have users - user, manager and boss projects is RW to everyone reference is R to everyone RW to manager and boss Proposals is RW only to boss, no access to others However when boss logs in and creates a directory in projects share, the directory can only be renamed bu users and manager, and directory contents are read only for users and managers, even deletion / rename is denied. How can i make sure that when ever boss creates a directory in projects, it retains base folder permissions and is writable to user this is my samba file... i am using red hat 6.1 with samba 3.5.6 (i think)

[Code]....

View 1 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

General :: Change Folder Permissions Without Changing The Permissions Of The Files Within The Folder?

Aug 11, 2010

How do I change folder permissions without changing the permissions of the files within the folder?

View 6 Replies View Related

Ubuntu :: Can't Boot To Windows Xp After Creating Shared Folder

Feb 16, 2011

i had created a thread in desktop environment and had received no comments, so posting it here again.

Had installed ubuntu alongside windows xp in dual boot. everything was working fine untill last week.

last week i did share a folder on NTFS partition from ubuntu to be accessed by my laptop which runs XP. i could access the folder after i ran this command from terminal "sudo smbpasswd -a myusername". After this i cannot boot to windows. it shows up windows screen and reboots again. ubuntu works fine. what do i do to get back windows XP to working again?

View 2 Replies View Related

CentOS 5 Networking :: Windows Permissions On Samba Share?

Apr 30, 2009

I have set up a Samba share via my CentOS 5 server (the samba share is actually a mounted filesystem, not local machine space). I have been successful in adding permissions for my windows users within the smb.conf, but have an additional need that I cannot figure out. I would like for my Windows administrators to be able to create folders and assign permissions from their machines (and their Windows GUI). Ultimately I need the folders on the Samba share to behave correctly when Windows group permissions are applied by these administrators.

When the folders are created, the "Everyone" identity cannot be deleted and sometimes "Creator Owner" or "Creater Group" show up. I have seen several threads start down this path, but haven't seen a definite answer (I may have just missed it!).

View 1 Replies View Related

Ubuntu :: Change Permissions Of Windows Shared Folder

Jan 31, 2011

I'm in an organization where each user has a Windows network username, and a central windows server with a folder for each user. I can access the folder using SAMBA and my (windows) network user name. I want to change the permissions (sharing settings) for my folder on this windows server - using only Ubuntu.

Had i been using windows I would simply right-click on the folder, go to permissions settings and add/modify users in the list.First of all, is it even possible to do this using Ubuntu?

View 2 Replies View Related

Fedora Servers :: Special Permissions For Running Windows Programs Off A Samba Share?

Feb 24, 2009

I've got my Samba shares up and running. I can stream files from the server, I can create files on the server, and I can copy files from the server.

Running a Windows program (from a Windows box) directly from the Samba server, however, is turning into a nightmare. I'm getting Access is Denied errors from the Windows box, yet I can copy/create/etc from the entire directory with no problems.

Are there any special permissions I need to run EXE files from a Windows box, located on a Samba share? I've already chmod'd everything to 777, and I show full access when ls -Z is used.

View 2 Replies View Related

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

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 View Related

Fedora :: Samba Sharing For F12 Folder Access In Windows

Mar 29, 2010

I want to share folder in fedora 12 so that any windows user can access my folder (without modifying its content) and there should be no password to be entered by the windows user. I tried samba gui but the folder does not open using windows.

View 3 Replies View Related

Server :: Windows Machine Cannot See Samba Shared Folder

Apr 30, 2009

I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.

View 14 Replies View Related

CentOS 5 :: Can't Access Samba Share Folder From Windows

Feb 25, 2010

i did install and configure samba buy google tutorials. I can ping the centos box from windows but cannt access folder which is on centos. I can ping the machine.

View 9 Replies View Related

General :: Using Samba To Share A Folder From A Guest With A Windows Host In VirtualBox

Mar 15, 2011

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now: What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories) Are there any Samba commands that I need to run on the guest to enable sharing? How do I make sure that these folders are only available to the host OS and not on the Internet? Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

View 1 Replies View Related

Ubuntu Servers :: Samba And Share A Folder An Sub Folders For Windows Users

Feb 19, 2010

I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.

View 8 Replies View Related

Ubuntu :: 10.10 On HPtx2000 - Use Samba To Access A Public Folder Of A Windows Computer?

Jan 20, 2011

I recently installed Ubuntu 10.10 on my sister's HPtx2000 since she isn't going to use it anymore and it worked better than I expect. The touchscreen works without any additional driver tweaking and installation <3, the wireless works fine, the sound works. I listed those because when i was installing, I was looking around at other people that did this and those were the problems they had (but those was of an old OS).

Well anyways, what I want to ask is about the stuff that doesn't work and the stuff I want to do: The buttons that flip the screen and etc doesn't work. Is there a way to map them and flip the orientation of the screen? And the other buttons too, like the media button. Is there a way to map them to open VLC or something? Does anyone know any tablet programs for Ubuntu? E.g a simple text program that can convert stuff written to neat, typed font? A way to write text into a google search bar using the stylus? And while we're on this, is there a way to map a left click on the touch screen?

In Windows, the left click could be mapped to: a). a side button of the pen, b) the top button of the pen, and c) holding the pen down onto the touchscreen. how to use Samba to access a public folder of a Windows computer? And to access the printer connect to the Windows computer? Some of the tutorials I found were only for folders and printers on the Ubuntu computer.

View 4 Replies View Related

Server :: Samba Entry Of Fstab To Mount Windows Shared Folder On Machine

Dec 15, 2010

I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.

View 6 Replies View Related

Server :: Samba And VSFTPD / Create Folder Rights That Samba And Ftp User Will Have An Access To All Directories?

Oct 20, 2010

I would like to configure an access to folder

/fileserver

for two services : Samba and VSFTPD

How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.

My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)

View 1 Replies View Related

Ubuntu Servers :: Samba - Access Folder To Delete Or Restore From The Recycle Bin Folder

Apr 24, 2010

I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)

Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?

[Code]///

View 1 Replies View Related

Server :: Creating Ftp User In Centos With Permissions?

Jul 12, 2011

I have created a ftp user in centos 5,but it got all permissions to delete files in other location,view the entire directory and create any folder in every place. How to deny this permissions to the particular user.And please help me to give permissions only to a specified location given by the root.

View 4 Replies View Related

Ubuntu :: Rsync Creating Wrong Permissions For Directories?

May 1, 2010

I try to use rsync for backing up some directories and I have to following problem: some files have permissions that prevent me from running rsync under my own user id. So I run it under root using the option "-a" which according to the man page should preserve the permissions, owner and group information:

However, when I run this under root, the directories created in the backup location get user root and group root while ordinary files keep the original user and group. What am I missing here? How can I get rsync to preserve the user and groups for all files, including directories?

Here is a command to illustrate my problem
Code:
sudo rsync -a /home/youruser /tmp

If you try that and terminate with Ctrl-C after a few seconds, there will be a directory /tmp/youruser where the directories contained within are owned by root group root.

View 2 Replies View Related

Ubuntu :: Creating Desktop Shortcut With Root Permissions?

Oct 20, 2010

I am using Lubuntu 10.10 and have installed my application that I need. What I need is a link to the desktop that will execute the program from the /usr/share/test directory. When I execute the program I need to use "Sudo" in order to run in. how would I add a symbolic link the desktop with the appropriate permission to run the executable without compromising security. I tried everything but cannot get it to execute under ubuntu:

PHP Code:

[code]....

View 2 Replies View Related

Ubuntu :: Creating Another /tmp Folder On 2nd HDD?

Sep 6, 2010

if anyone knows any trick to create a folder that deletes its contents on every boot, like "/tmp" but on a different hard drive since i have 2 internal hdd's.

[For saving massive temporary cache files, to increase overall speed (1 hdd for use, 1 hdd for storage/temp storage).]

View 2 Replies View Related

General :: SAMBA-can't Set Permissions

Jun 25, 2010

I can not manage file/folder permissions for created shares. I need get access from Win system to Linux shares. Actually I have access to its, but only to read folders and files. I tried to change permissions in create mask = 0765 and set it to 0777, but no success.

1.Added user
# adduser samba
# smbpasswd -a samba #set his password
# smbpasswd -e samba #activating it
2. Installing SAMBA service

[Code].....

Folder /media/DATA/VIDEO not browseable and cant't enter it on Win system. It located on USB External HARD Drive, and attached to Linux system.

View 7 Replies View Related

Ubuntu :: File Permissions Over Samba?

Feb 17, 2011

I have a problem with file permissions over samba. I am running a web server, and this web server needs to be able to delete a file. The php code is correct, because it works on other sites. The php code is failing when it deletes a file because it is being ran as the www-data user. And the permissions on the files that are created on the share are as follows:

ns$ ls -l
-rwxr-xr-x 1 root root 129628 Feb 6 08:16 20110206071748532.pdf
This directory is mounted on:
/var/www/files/23982dbb7a454425ce17a22bedc00776/scanned/AEC_Scans
This is done with the /etc/fstab file:
//192.168.58.2/Scans /var/www/files/23982dbb7a454425ce17a22bedc00776/scanned smbfs username=administrator,password=somepass

[Code]...

View 6 Replies View Related

General :: Connect Samba Dir With Two Different Permissions?

Apr 6, 2010

I am using my Red Hat Linux 9 box for samba server. I want to connect samba dir with two different permissions.

View 2 Replies View Related

Server :: Samba And Group Permissions

Sep 11, 2010

This is a interesting confusing problem.Ok I have group with 3 users.I have a folder in /home with owner as root, and group that has read/write permissions.However if a user opens up a file and saves it via samba, the owner changes to the user, and the group members only have read permissions on the file.

View 4 Replies View Related







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