Server :: Samba Adds Execute Flag To All New Files

Jan 19, 2010

We have started using ACLs on our fileserver and we are having a problem with getting Samba to behave correctly. When we create a file in Linux, the permissions and ACLs are set correctly. Files are set to 640 and directories are set to 750. However, when we create it in Windows through Samba, regular files are being set with 650 and directories are set to 770. It's adding execute on files and execute+write to directories for groups.

View 2 Replies


ADVERTISEMENT

Debian Configuration :: When Root Crontab Is Edited The Execute Flag Is Removed?

Mar 3, 2011

I have been having trouble setting up a daily backup script with cron. It would basically never worked. Searched the net for answers but didn't find anything. I finally figured it out !! When root crontab is edited the execute flag is removed from #/var/spool/cron/crontabs/root. I change it with #chmod a+x /var/spool/cron/crontabs/root and all is good.

View 5 Replies View Related

Server :: Log User Samba Who Delete Or Move Files/folders On Samba Server ?

Feb 8, 2010

I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.

View 1 Replies View Related

General :: Execute .jar Files In Ubuntu Server?

May 19, 2011

I have a .jar file named "server.jar". In windows it executes on simply double click on it but I want to execute it on the server and I don't know how to do it??? I have Filezilla to upload any file on server and putty for cmd prompt. where i have to upload my file on server and hoto execute it.

View 3 Replies View Related

General :: Cp Adds Exclamation Points When Copying Very Large Text Files?

Jul 13, 2009

For my research I have some very large files that are basically millions of lines of ten columns of numbers. These files can be up to 5 GB in size. Recently I noticed that when I made a copy of one of my files, some exclamation points appeared in it where there should not be any: in front of random numbers throughout the file. Making another copy of the file would result in exclamation points in front of different numbers in different parts of the file. Doing this many times has given me up to four exclamation points in different parts of the file. Sometimes the file copies just fine without producing any extraneous exclamation points.Additionally, I have occasionally seen a "^K" where there should be a newline (the data that should have been on the next line was instead on the previous line with a ^K in front of it) in copies that I have made of my files. I don't know if this is related or not.

View 7 Replies View Related

Server :: Sendmail Adds MX Record To Addresses

Nov 1, 2010

Im working with virtuals machines to configure Sendmail on Linux.

I work with two domains (ar and org), the configuration is similar in both, so i will write just one.

In orgs mail server:

The emails stopped coming and the server adds to the e-mail addresses the MX record. For example, if i send an email to u1@org in log appears u1@org.mail.org.

View 14 Replies View Related

Ubuntu :: Server 10.04 And Samba Server Admin - Share Media Files Between Computers

May 25, 2010

I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:

[Code]...

View 3 Replies View Related

Programming :: Write Shell Script That Adds An Extension ".new" To All The Files In A Direct?

May 28, 2010

How to Write a small shell script that adds an extension ".new" to all the files in a directory.

View 2 Replies View Related

OpenSUSE :: Backing Up Samba Server Files?

Mar 9, 2011

I have a Samba server on a computer. I would like to backup the Samba files on a different computer that is a client in the Samba server network. I can easily drag and drop the Samba files onto the client. I would like to automate this process, and accomplish this using an update copy versus a copy full. How can I accomplish this as bash script? I had no luck using the 'cp' command.

View 1 Replies View Related

General :: The Files' Permission Of Samba Server?

Jan 19, 2010

Samba Server version 3.25 The share directory test , the user's permission will be :Users can copy files into the test directory bywindow's file exploer , and after copying userscan'tither delete that files nor recovery them.

View 3 Replies View Related

Server :: Gnome And Samba / Why Can't I Open Certain Files?

Sep 17, 2010

I can go to Places-Network on the gnome menu and pick the share I have on my other machine (I have read-write since the account is in the same user name) I can browse the files on the server using Nautilus, however when I try to open OpenOffice files it fails and won't open them. I have to manually mount the files system as cifs before I can open OpenOffice files. Anybody know why this is happening.

View 3 Replies View Related

Server :: Access Samba Shared Files

Feb 11, 2010

I have installed samba server one month ago and it was working fine till yesterday but today morning when any network client is trying to access samba shared files by giving smb://<serveripaddress> it is asking for password...that is ok but when he is giving the password it is again opening the same password window to enter password again.The clients are giving correct password that is confirm. At the server side i have run smbclient -L localhost -U% and that is giving proper response so that also means that samba server is working fine so i dont know what could be the problem and what its solution.

View 7 Replies View Related

Server :: Samba Share Not Showing Any Files

Nov 3, 2009

I have recently installed Fedora F11 with a Samba server. The smb.conf seems fine but I cannot see any of the files in the share from a Windows machine. I am probably missing something unbelievably simple but driving me nuts!

I can see the machine and share from windows

When logged in as the user fred I can see all the files in Linux - most are owed by fred.

smbuser:
Code:
# x_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
fred = fred
smb.conf:
Code:
[global]
workgroup = Workgroup
server string = Samba Server Version %v

netbios name = MachineName

hosts allow = 127. 192.168.0.
.........
[Docs]
comment = Main Documents
path = /mnt/documents
read only = no
browseable = yes
valid users = fred
.........
The other thing I find a bit odd is that
Code:
service smb restart
does not effect the way that the windows machine sees Samba. It appears that you need a full restart to get the changes to show properly.

Thanks,

Michael

View 2 Replies View Related

OpenSUSE Install :: Recovery Of Files On Samba Server?

Jan 28, 2010

Is it possible to recover files on a samba server running opensuse 11.0? I had been dual-booting into XP and Opensuse 11.2. XP failed (system files corrupted) and ceased to boot. After re-installing XP into its partition and trying to repair Grub so that I wouldn't have to re-install Opensuse again, I had partition table errors. I wiped the hard drive since I had a backup of my home directory on a DVD. The problem is that once I installed both OSs again and copied the contents of the DVD to the home directory, all the files in my home directory were read-only. Among these was a directory where my documents folder on the samba server is mounted into. The documents on the samba server are no longer there. I thought it was mounting wrong, but when I used ssh to log into the other machine to check, they were in fact gone. Is it possible to recover these? I've looked in the .trash* folders on both machines with no luck. A lot of my research was on the samba server. I typically use Knode to check this, but it crashes while its files are having permission problems as well that I haven't been able to remedy yet.

View 2 Replies View Related

General :: Find Log Of Deleted Files From Samba Server?

Sep 16, 2010

How to find detail logs of deleted file or folder from Samba Server?

View 1 Replies View Related

Server :: Login / Passwords - Samba Config Files?

Jun 11, 2010

How to make a Server of LOGIN / PASSWORDS for flexible linux machines? Samba config files for the server and the client. The clients, if no network, shall use the /etc/shadow.

View 10 Replies View Related

General :: Get Samba Read + Execute Permission

Feb 20, 2010

i need 2 king of permission 1 is full access and other is read+exceute. it can be by ip by userid or by group. as i am beginner try to find such example cant find it so far see below my smb.conf file

[Code]....

View 1 Replies View Related

Server :: What Flag To Use With RPM To Show Changes / Patches Included

Dec 8, 2009

For instance I have: openssh-4.3p2-36.el5_4.2
But I know that is 4.4.x. rpm -? openssh

View 2 Replies View Related

Server :: Cant Edit Files Which Are Created In Samba Shared Folder

Sep 29, 2010

i have created an folder inside my redhat server. and i shared it via samba and mapped that shared folders inside 5 windows machine. now the problem i am facing is, if any one create a file in that mapped drive the other user cant edit that same file. but he can read it. only for files not folders.

i gave full permission to that folders and subfolders and in smb file i gave readable writable browsable permissions. and i disabled se linux and firewall

View 12 Replies View Related

Server :: Winword Creates Read Only Files On Samba Share?

Oct 15, 2010

I have a similar problem with Microsoft Access and Photoshop. I am using Samba 3.2.5 and Debian 5.0

View 2 Replies View Related

CentOS 5 Server :: Samba Files And Folders Keep Appearing And Disappearing?

Dec 15, 2009

I have an intermittent issue with with Samba. I can access my samba share with windows xp and vista using windows networking and even by mapping the share to a drive. The problem is that the files and folders disappear inadvertently and I can only access them again if I open the share again from the start with windows explorer. Selinux is disabled and the firewall ports for samba are open. The following software is installed:

samba 3.0.33-3.15.el5_4
samba-client 3.0.33-3.15.el5_4
samba-common 3.0.33-3.15.el5_4

[code]....

View 8 Replies View Related

General :: Connect And Access Files Remotely To Samba Server Over Internet

May 31, 2010

I have a server at home running as a file server and DHCP connected to a switch with a wireless AP in there as-well. with this setup I can access the files and do some configurations via SSH on the actual server anytime I'm able to get the wireless signal, now lately I felt the need to be able to do the same but this time over the internet. I've read somewhere already that I'm gonna need a router with port forwarding and NAT, then know the IP address of the server but my problem is once you start talking about routers then you need broadband connection which is something I don't have. Getting a router is not much of a problem but without ADSL like connection I guess its useless, what do I need to do?

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

Software :: Configure Samba Server To Access System Files From Windows?

Oct 12, 2010

I am new to Linux and want to setup Samba server in my CentOS 5.3. I have downloaded samba server from yum repository with command

yum install samba

I then followed the steps which i got by some googling on

http://crazytoon.com/2007/05/22/samb...centos-fedora/

this site which contains steps like code...

How to resolve it ?

View 5 Replies View Related

Ubuntu Servers :: Acpi=off Flag Prevents Server From Booting

May 2, 2011

I'm running Ubuntu Server 11.04 on a home PC as a local-only file and web server for some private projects.After a few minutes Ubuntu will stop responding to the network and a cold reboot is required to re-enable the NIC.I've been able to stop the above occurring with a user logged in and constantly pinging the gateway, although this is obviously undesirable.

I read here and elsewhere that a fix is to set acpi=off in grub. I have done this but now instead Ubuntu will not boot and shows the message:

do_IRQ: 1.55 No irq handle for vector (irq -1)
Disabling IRQ #34

and hangs there indefinitely. The system will boot fine if I revert the changes but obviously the sleep problem remains.The BIOS does not have an option to disable ACPI, just select S1 or S3.Is there anything else I should be looking for in order to disable sleep? Otherwise the system is working fine, and when it's awake I haven't had any other trouble.

View 9 Replies View Related

Ubuntu Servers :: Setting SAMBA Server Correctly - Can Only Access Files From The Win 7 Machine

May 31, 2010

Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..

[Code]....

View 9 Replies View Related

Server :: Restrict Virus Effected Files Of Windows To Copy In Samba Sharing?

Jul 28, 2011

1> i have centos5.4 fileserver.
i synchronize my document of windows xp with fileserver through samba server.
while synchronzing ,virus effected file are also get sync in fileserver .
i scheduled copying in crontab also.meanwhile by synchronizing the fresh file get replaced by virus file.this result lost of my data.

is there is any solution to restrict virus file from copying through rsync....

2> is there is any program to compare size of files on samba server

View 1 Replies View Related

Ubuntu Networking :: Copy Files From Samba Server To Windows Seven Media Center - Speed Too Slow

Feb 24, 2010

When i try to copy files from my samba server (Ubuntu 9.10) to my windows seven media center, the speed is extremely slow. So slow that is better to download 100mb file from the internet, than from my lan. And on my lan, every card and switch is at 1000 mbps speeds on cat5 cables. And from XP or other linux machine

View 1 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

Fedora :: How To Execute .sh Files

Aug 1, 2011

I'm new to linux but slowly getting the hang of things... I downloaded an application with a .sh extension. I typed "bash filename.sh" It appears to start trying to execute it and then says that it can't display the GUI because it needs access to an X server

View 3 Replies View Related







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