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


ADVERTISEMENT

Fedora Servers :: Permissions For Users Within Share On Samba PDC

Sep 3, 2010

How can I set permissions for users within the share?
Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents.
How do I set permissions?

View 2 Replies View Related

Ubuntu Servers :: Get A Samba Server Up And Running To Share With Windows Machines?

Oct 14, 2010

i manged to get a samba server up and running to share with my windows machines. But i still want more. My main goal is to be able to share my movies. I have a laptop hooked to my flat screen with 3TB's of external drives, thats whats acting as my server. I have ubuntu desktop installed because i use it to play movies also.

I'm looking to set up something that is a little faster than samba (yes i no trying to share through USB 2.0 external drives and a wifi connection isn't going to be real fast no matter what) but i want to be able to access my server remotely. like maybe FTP? but what i'm asking here is what protocol should i use and what programs? i was thinking gadmin-proftpd and then filezilla to access?

View 9 Replies View Related

Ubuntu Servers :: Back Up Tools And Set Up A Special Samba Share

Aug 9, 2010

I am a php devloper and recently my company purchased an IBM X3400 M2 Server and i was told to set up the server.I installed the Ubuntu 10.04 LTS Server i386 version. Everything went up smoothly and i have some queries to be asked.

1.)Our scenario is like this,--> we have an a production LAMP Server and we need the to backup all the contents of www folder and all Mysql files.I plan to do this with a shell script and use the rsync for syncing and backup.

Again i have a mysql backup shell script that i want to activate on system shut down Like when i shut down my server,the backup script should run taking all the backups, just before the Shutdown.The script should run take the backups, one, on the server itself and other on a remote machine sync with rsync and system should then go for Final shut down.How can we achieve this.I know of cron jobs but i prefer the above way.Suggestion requested here.

2.)To Set up a Special Samba share. I need to set up a samba share that will allow only files to be copied and not be deleted.For eg i will create a folder "WEBSITE-BACKUPS"(will contain the list of all finished website works plus mysql dump)

The user on the network will have only permission to paste into this folder.Like a user just paste his work say 'abcwebsite',he will have only this privilege and no DELETE privilege or right.Can this be done?

3.)I have a LAN, in this the IBM Machine is acting as Production LAMP server with around 20 machines connecting and working with files on this server.All other machines are Windows.Can i get a log based on the ip like who has accessed with files at what times or last modification time from an IP address. I usually get complaints from my fellow developers that somebody has deleted or modified their work which is in this IBM Server.So is there any way to monitor this.I also know about subversion,the versioning system but most people here are uncomfortable with check in / check out commands.

View 3 Replies View Related

Ubuntu Servers :: Samba Permissions On Share Level

Oct 13, 2010

I'm trying to set up my samba server so that all the shares are visible to everybody but that some shares can only be accessed by certain users. I have a folder Video that everybody can access without a username or password. I now want to create a share that only I can access called webserver.

This is my samba.conf
Code:
[global]
dns proxy = No
netbios name = DATABOX
guest account = nobody
restrict anonymous = no
browseable = yes
server string = server
workgroup = WORKGROUP
public = yes
security = share

[Video]
Writeable = yes
Path = /media/data/Video
Public = yes

[webserver]
Writeable = yes
Public = no
User = malteser
Path = /media/data/Webserver

Windows does not let me enter a username or password. I'm pretty sure this used to work.

View 1 Replies View Related

Fedora Servers :: Connect To Samba Server ( Share ) From Windows Xp?

Mar 31, 2009

if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:

Quote:

[root@********* samba]# rpm -qa |grep samba
samba-common-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
samba-winbind-3.2.8-0.27.fc10.i386

after that, i've configured the smb.conf file, as follows:

Quote:

[root@*********** samba]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
workgroup = GROUP

[code]....

there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.

View 14 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 Servers :: SAMBA Share Read Write Permissions?

Mar 23, 2010

i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,

i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.

i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.

[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share

[Code]....

how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??

View 4 Replies View Related

Ubuntu Servers :: Setup Samba Share And Group Permissions?

Feb 15, 2011

I have a couple of user accounts where each member belongs to a group i have created: Each user access the share using their own user account credentials.
How can I configure Samba in a way so that each modification done on the share gets the owner of the user and my group instead of the user and the users own group? I would also like the access rights to be 770 to each modification.

In other words, today each modification by "userA" get the owner "userA.userA" and I would like it to be "userA.MyGroup" with "rwxrwx---" permissions.

View 3 Replies View Related

Ubuntu Servers :: Preserving Timestamps And Permissions When Copying To Samba-share

May 5, 2010

My samba-shares are mounted in fstab. Everything works fine except for one small issue: when copying files from the local PC to the share the files are copied but the timestamps and permissions of the files are not. Instead a message "operation not permitted" appears. 'root' on the client can copy files WITH timestamp etc, a normal user cannot.

Below the line in fstab on the client and smb.conf on the server.

View 3 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 Servers :: Samba Windows Share - You Might Not Have Permission To Use This Network Resource

Jul 7, 2010

I cannot browse the samba printers from windows xp professional clients.

I get the following message when trying to access the workgroup:

Code: Example is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The list of servers for this workgroup is not currently available

Another strange thing is that if I set the workgroup to EXAMPLE in smb.conf, the workgroup shows up as Example on my windows clients.

View 4 Replies View Related

Ubuntu Servers :: Create Samba File Share To Windows Domain Clients?

Apr 28, 2010

I feel ashamed for even asking this, since it seems like there's about 3 samba questions here every day. However after an hour of searching, I keep finding strange variants that aren't what I need.

My Goal: Create a single file share on an Ubuntu Server - share it via samba to Windows clients that are on a domain with active directory. It sure would be nice if AD authentication would work - so users don't have to type in a linux user/passsword each time they want to access the share.

In my adventures, I've found the following items (which may overlap)

1. Joining the server to a Windows Domain

2. Turning the server into a Windows Domain Controller

3. Authentication with LDAP (still not quite sure how/what this would do)

4. Stuff with Kerberos

5. Lots of people bickering about Samba 3/4 & how it's impossible to make Samba a PDC.

I'm not sure if I need to make the ubuntu server a domain controller or not...all I want to do is create a file share and share it on the domain...I don't need to make the ubuntu server a domain controller for that, right? Maybe just a member? Maybe nothing at all?

I guess if I want to authenticate stuff correctly (or forward authentication requests? Not sure), I probably need to join the ubuntu server to the domain...I think.

But let's say I do join it to the domain...then how to I create a file share that is authenticated via active directory rather than a local ubuntu server account? I see a dozen guides on joining the server to the domain, but nobody ever mentions sharing the folder over the domain.

The lines are also blurred between joining Ubuntu to the domain and making it a domain controller. What should I keep an eye out to avoid in these tutorials?

I get lost between the Kerberos/LDAP/Samba/WinBind etc...and I have a feeling I don't need all of these for something this simple.

View 1 Replies View Related

Fedora Servers :: Samba Public Share ?

Jan 26, 2011

I wan't whatever file/folder that ends up in the public folder to automaticly be open to whosoever access that folder. Right know I have to "chmod -R 777 file/folder.* "

View 4 Replies View Related

Fedora Servers :: Samba Share On External USB Drive?

May 29, 2009

I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.

I also tried a symbolic link, no good.

Here is a screen shot
http://aivila.com/temp/screen.jpg
Here is my smb.conf file:
Code:
[home]
path = /home/savona
read only = no

[Code]...

View 12 Replies View Related

Red Hat / Fedora :: Mount Samba Share To Windows?

Aug 31, 2010

i hav configured samba share in RHEL 5.4 , it can be accessable from other linux machine but i want to access it from windows machine, how can i do it? i also want want to know that in RHEL my partitions are in ext3 format, so how can windows can detect this partition, Is samba share is independent of filesystem on either machines

case2:---
i hav configured samba on windows server 2008 , how can i mount it on linux machine

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

Ubuntu Networking :: Can't Get Permissions In Samba Share?

Jun 6, 2010

When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.

The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.

I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.

View 1 Replies View Related

Ubuntu :: Samba Share With Group Permissions?

Nov 18, 2010

I am trying to set up a Samba share on one of my machines where I am the owner and a special group manages permissions for read-only access ( me:specialgroup ). If I log into the share as me, there is no problem (I have read/write privs as per usual). However, I am not able to log into the share using any of the group members (there is only one currently). That user is not able to access the share (failed to mount).

The folder (which is the share) is owned by me:specialgroup and the permissions have been forced down the folder. Samba is set to Share this folder with no guest or others write access.

View 9 Replies View Related

Server :: Samba Share File Permissions?

Mar 19, 2011

I have set up a computer to use as a file server using Samba. I attached a 1TB hard disk to it and had the system to mount it automatically. I have 4 user accounts which will be able to access this network share. An administrator account is called "server". I'll call them user1, user2 user4. This is the folder structure:

+-/mnt/FILES
+-BACKUP
backup files (accessible only to "server" user)
+-MUSIC
music1.mp3 (read only files for all users)
music2.mp3

[Code]...

I don't know which groups I should create. I'm having a hard time setting file/folder permissions. And I wanted to know how to set Samba so that it won't ask for a password when accessing public/group files, but asks for it when accessing private user files.

View 1 Replies View Related

Fedora Servers :: Samba Share When Selinux Is In Permissive Mode?

May 13, 2009

I don't think it has anything to do with the config file. More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinux is on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.

Here is the output when I ran [root@fileserver /]# getsebool -a | grep smb
allow_smbd_anon_write --> on
smbd_disable_trans --> on

These two options were off I tried turning them on.

This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.

[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off
samba_export_all_ro --> on
samba_export_all_rw --> off
samba_share_nfs --> off
use_samba_home_dirs --> on

I can also post a copy of my smb.conf file too.

View 1 Replies View Related

Fedora Servers :: Access Samba Share By Hostname From Win7

Mar 13, 2011

Running samba-3.5.6-71.fc14.x86_64. Why cant I access samba share by short-hostname from win7. When I ping short-hostname, the answer is the actual ip and short-hostname.mydomain.com

sa pinging short-hostname does work, but accessing it from start-run does not! Accessing by ip or short-hostname.mydomain.com works fine. ssh by short-hostname from win7 works fine too.

View 14 Replies View Related

Fedora Servers :: Samba PDC / Wins Proxy To Allow Share Across Networks

Mar 23, 2011

My Fedora router has three nic's, one for the internet, one for lan and one for the wireless network, which uses hostapd. I have set up samba in order to enable windows file sharing from wireless lan to wired lan. Using the samba documentation I have enabled the wins server and wins proxy which should allow met to browse the shares across the networks, which theoretically should do the trick but it doesn't work as expected. I can see the pc's from the other network using windows neighbourhood, but as soon as I access one of them it fails saying that "network path could not be found" or something like this. Tried using windows 7, windows xp and linux for browsing but the result is the same. As firewall I have shorewall and the samba specific ports are enabled for both networks. How to setup samba for inter-network browsing?

I have attached the global config section from smb.conf file:
Code:
[global]
server string = Samba Server
interfaces = eth1, lo, wlan0
bind interfaces only = Yes
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50 .....

View 9 Replies View Related

Ubuntu Networking :: Samba Share With Differing Permissions?

Sep 9, 2010

what I am trying achieve is read/write access for my MS domain account and read-only access for everyone else. In smb.conf I have this:

Code:

map to guest = bad user
usershare allow guests = yes
username map = /etc/samba/smbusers

[code].....

I can access this fine with my MS domain account, what I can't work out is how to give others read-only access to the same share. I guess I could create a second share for the same folder with a different name and permissions, but that seems a bit clunky and I'd have to remember to pass on a different name to the one I am using. I also tried using the Nautilus right-click "Sharing options" and then setting the folder permissions. This works fine for giving others read-only access, but loses capitalisation of the share name and doesn't seem to recognise my MS domain account as being valid.

View 1 Replies View Related

General :: Samba Share Not Permissions Not Automatically Added?

Jun 12, 2011

I have a samba shared folder in my flash disk. Yesterday I installed ubuntu 11.04 and now sharing is not working any more. I do the usual procedure (that worked so far), I right click my folder > sharing options and tick "share this folder" as well as "Allow others to create and delete files in this folder" but I dont get the usual messages asking to add permissions automatically.When I try to mount my folder in another pc with linux, I get permission denied and that the folder is only readable and in another, windows cannot find the network path to my folder.My folder has about 10.000 files. asking to add permissions automaticallyI created another folder on the same flash and when I create share I get the message asking to add permissions automatically but it is not visible either. I even cant see my folder in "my places" > network, so it is not a matter of the mounting command

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

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

Fedora Servers :: Cannot Connect Win7 And Mac0S 10.6 Computers To Samba Share

Jan 3, 2010

I just recently constructed a computer to create a nice Fedora Linux server to replace a Mac Mini server that I have been using for a few years. I'm attempting to create a Samba share for my machines, a Windoze 7 machine as well as a couple MacOS 10.6 machines. I've set up Samba, started the service, allowed Samba in the firewall, and used system-config-samba to set up a share with a user. I created a User called "space", and a share /media/peliculas/Movies (a mounted hard drive). When I type in \IP_ADDRESS in the address bar in windows 7, I get the option to log in. I log in correctly and I see two directories "space" and "Movies." Unfortunately when I click on one of them I get the following error message:

Windows cannot access \IP_ADDRESSMovies Check the spelling of the name. Otherwize, there might be a problem with your network. To try and identify and resolve network problems, click Diagnose. I also get something similar when I attempt to connect with my mac machine. Using "Connect to Server" I type in: smb:\IP_ADDRESS, and login, I have the option to mount "Movies" or "space." If I select any of these, I get the following error message: There was an error connecting to the server "IP_ADDRESS." Check the server name or IP addres, and then try again. If you are unable to resolve the problem contact your system administrator.

Also, if I type 'smbclient -U space -L IP_ADDRESS' I can see the "Movies" in the "Sharename." At this point I'm not sure what else to do, and have been trying to figure this out for the last few days (losing sleep due to being baffled). The only thing that I can think of is that I have something wrong with the smb.conf file. Here is what it currently displays:

Global Settings

workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50

[code].....

One last thing, when I check the log files, there are error messages that state: smbd/service.c:1009(make_connection_snum) '/home/space' does not exist or permission denied when connecting to [peliculas] Error was Permission denied --Windoze 7 and MacOS 10.6 log files

View 5 Replies View Related

Fedora Servers :: Setup A Samba Network Share With A Directory Server Backend?

Feb 24, 2009

I'm trying to setup a Samba network share with a Fedora Directory Server backend. This will be used primarily for Windows users to authenticate before accessing the share. I am using Fedora Core 10 and have all of the latest updates installed. When I try to connect from a Windows machine, I am prompted for a username and password. I enter the username and password of the account I created in Fedora Directory Server in OU=People. The credentials are rejected. At the same time in the log file I see this:

[2009/02/24 16:50:16, 3] auth/auth_sam.c:check_sam_security(282)
check_sam_security: Couldn't find user 'Administrator' in passdb.
[2009/02/24 16:50:16, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER

Administrator is the user I created in Fedora Directory Server. If I perform an ldapsearch it will find the user as uid: Administrator so I know it is able to be looked up in FDS. But I'm guessing that's not the problem.

[Code]...

View 4 Replies View Related

General :: Permissions On A Windows Share

Mar 31, 2011

It seems that by default a Windows share mounted at /mnt/Windows/ will be owned by root and have 755 permissions set on all files. I usually do a chown or chmod to allow my user to have write access to these files. Does that affect the Windows files in any way? It takes quite some time to complete the chown/chmod when there's a lot of data. Where is the Linux permission data kept for the Windows share? On the Linux computer where I set the permissions? I just want to get a better understanding how this works.

View 5 Replies View Related







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