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


ADVERTISEMENT

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

Ubuntu :: NTFS Folders But Not Files Appearing?

Jul 6, 2010

I recently had a Windows Vista laptop crash and burn because of some damage done to all the lovely files Windows cannot boot without. Since my computer cannot boot from USB normally I used PloP Bootmanager to get it to boot from a live Ubuntu image on a USB stick.Before I install Ubuntu, I want to recover some of my files sitting on the disk, and the partitions seem to mount in the GUI- I can see them, I can click mount or unmount and it responds. The trouble is that while I can see all of the folders on the Windows partition: Program Files, Documents and Settings, etc. I can't see any of the actual files. The disk itself is reported to have data on it- even Ubuntu recognizes it's almost full, but every folder has 0 files with the exception of /media/[A particular character string] which has three boot-related files. This is true whether I use bash as root or not. I've tried mounting to a different point and remounting via the terminal using ntfs-3g and editing the fstab file to recognize the parition with full permissions, but nothing seems to work.

View 5 Replies View Related

Networking :: Unison/iwatch Sync - Files Disappearing From Server?

Jun 7, 2010

I'm trying to set up a synchronization with unison and iwatch to (more or less) instantly sync files upon change in a directory tree. iwatch calls unison like this:

Code:

unison /home/foo/vhosts/foo/my_vhost/bar.html ssh://server.tld//srv/www/vhostsfoo/bar.html -batch -terse -ui text -owner -group I would expect unison to sync all files between the two servers. However, that is not the case. Everything works fine as long as the files are only created/changed/whatever on the server running unison. If a file is created on the server that unison is synchronizing to, it gets deleted the next time unison is called.

For example:

Code:

on the host running unison:

$ cd /home/foo/vhosts/foo/my_vhost
$ touch foo.bar
-- sshing to remote host ---
$ ssh remote.com

[code]....

$ unison /home/foo/vhosts/foo/my_vhost/foo.bar ssh://remote.com//srv/www/vhosts/foo/foo.bar -batch -terse -ui text -owner -groupI expected that both files get synchronized - foo.bar from the unison server to remote.com and hello_world.html from remote.com to the server running unison. Instead, hello_world.html gets deleted.

I've been working a while on this and don't seem to be able to figure it out. Maybe it's only an argument to unison to rectify it but I couldn't find anything adequate in the manpage either.

View 2 Replies View Related

Ubuntu Security :: Clean Mask For Files And Folders Through Samba

Feb 9, 2010

Still working on the mask of files for shared folder. I now have a shared folder with the exact behavior I expect :
Code:
sudo addgroup share_group
sudo mkdir /media/volume/shared_dir
sudo chgrp share_group /media/volume/shared_dir
sudo chmod g+s /media/volume/shared_dir
sudo chmod 770 /media/volume/shared_dir
sudo setfacl -d -m group::rwx /media/volume/shared_dir
sudo setfacl -d -m other::--- /media/volume/shared_dir
emma@box:/media/volume/shared_dir$ ls -al
total 8
drwxrws---+ 2 root share_group 4096 2010-02-09 12:53 .
drwxr-xr-x 8 root root 4096 2010-02-09 11:58 ..
-rw-rw----+ 1 emma share_group 0 2010-02-09 12:53 test
By default, user from the group can modify this file. That's perfect.

I have define the share in Samba this way :
Code:
[share]
comment = Shared Folder
path = /media/volume/shared_dir
browseable = yes
guest ok = no
read only = no
hide dot file = yes
# force group = share_group
# create mask = 0660
# directory mask = 0770
# force create mask = 0660
# force directory mask = 0770

When drag & dropping a file in this share, here is the default mask:
Code:
emma@box:/media/volume/shared_dir$ ls -al
total 192
drwxrws---+ 2 root share_group 4096 2010-02-09 12:54 .
drwxr-xr-x 8 root root 4096 2010-02-09 11:58 ..
-rw-rwx---+ 1 emma share_group 6148 2010-02-09 12:54 .DS_Store
-rw-rwxr--+ 1 emma share_group 176684 2009-12-21 23:33 IMG_7487.jpg

So the dropped file have execution rights for the group, and read access for other. I expected it to have the same rights than the file created directly using the touch command. I tried to play with the mask options, without success. The file has been dropped from my mac, which is a Unix like OS. I guess that some authorization access are inherited from the original file, for the user and other parts. But where does the group authorization come from ? Moreover, is is possible to define in samba a default mask, whatever the authorization of the original file?

View 1 Replies View Related

Ubuntu :: NTFS External Drive - Disappearing Folders

Jul 12, 2010

I'm using an external hard drive formatted to NTFS to keep my projects on. I edit projects from both Ubuntu and Windows XP.

After editing some files in a couple of folders on the drive I have now noticed that any Ubuntu machine I plug the drive into can see the entire contents of the drive, but now, I have 4 folders that do not appear in Windows XP. I have plugged the drive backwards and forwards between three machines now (one of them dual boot) and Ubuntu definitely finds the folders and Windows definitely doesn't. This has only happened one Ubuntu has edited files, though some of the files and folders that have been edited are still visible in XP.

I presume something went wrong whilst writing file tables or whatever they are called these days. Does anybody know how I can get the folders visible in XP again? Do I need to run something in Ubuntu or in XP to 'rescan' the drive?

View 3 Replies View Related

OpenSUSE :: Thumbnails Not Appearing For Pictures In Folders

May 18, 2011

I am trying to figure out how to get all my pictures in my folders to have a thumbnail I have gone under view-adjust view properties and selected "show preview" option and than selected all folders at the bottom of the screen. I also went back under the view menu and made sure that the preview box was checked. Only maybe less than half of my pictures are able to be previewed is this a common problem.

View 6 Replies View Related

Ubuntu :: Folders Not Appearing Properly (Without Colors - Like Windows 98)

Jun 13, 2010

I did a partial update and since then the Folders (Nautilus) is looking weird without many colors reminding of Windows 98/95.

View 1 Replies View Related

Ubuntu :: Mutiple Copies Of Media Folders Appearing?

Oct 16, 2010

I am trying to get my network music player (Logitech Squeezebox) to connect consistently with Ubuntu. Most of my music (FLAC files) is on a separate NTFS hard drive as I am dual booting with XP.I have edited the Fstab file somewhat based on suggestions on the forum but I can not seem to consistently connect to the Squeezebox with my music files (FLAC). What appears to happen is I set up my mount point in the media folder as Music and configure this with my Squeezebox which scans the Hard drive and finds all my music. The player works and it all seems fine even after a reboot but after a couple of reboots I get an error message when booting that says "The disk drive for media/Music/Flac is not ready yet or not present".

When I go to the media folder it appears that the Music folder is duplicated with a folder called Music_ and after a resetting the Squeezebox scanner to the new Music_ folder the process starts over again and I eventually end up with another folder called Music__ and so on.My question is 1) can I delete these Music folders without erasing all my Music library , and 2) how do I correct this situationHere is the Fstab file:# /etc/fstab: static file system information.

#
# <file system> <mount point> <type> <options> <dump> <pass>
proc/procprocnodev,noexec,nosuid00

[code]....

View 9 Replies View Related

Ubuntu Networking :: Windows' Shared Folders Not Appearing

Mar 12, 2011

I am networking from Ubuntu to Win 7. On Windows I have C:Users shared. In this directory I see two folders (or users, if you like): "Public" and "userr_" On UBUNTU when I go to Network > SERVER > Users I do not see either of the two folders that I see on Windows. I see a different one named "Default". I can access my optical drive on my windows machine fine via UBUNTU, it is just not behaving properly for this shared folder named "Users"

View 1 Replies View Related

CentOS 5 Server :: Samba-3.0.33 - Cannot Change Computer Names In A Samba Domain?

Oct 8, 2009

I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:

===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)

[code]....

View 3 Replies View Related

CentOS 5 :: Compress Files / Folders With Low Priority

Oct 23, 2009

Is there is anyway, with tar, zip, gzip, or any file compression type to compress without causing high CPU. In other words, limit how hard the CPU works to compress it? Of course I understand that this would cause the compression to take longer but time isn't too big of a concern.

View 3 Replies View Related

Ubuntu :: Samba Mount Not Appearing In When To Attach?

Aug 6, 2010

I've mounted a windows share in places. When I look at computer in places it shows down the left hand side. When I write an email in Thunderbird and go to attach it does not show down the left. Firefox doesn't see it either when attaching from gmail. But open office and do a save as it does see it.

View 3 Replies View Related

CentOS 5 Server :: Multiple Html Folders For Sandbox Server?

Aug 30, 2010

I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?

View 1 Replies View Related

Server :: Server Upgrade And Folders And Files Get Hide

May 18, 2010

I had a running server (mandrake10.1) that I wanted to transfer to a better version of linux, so, I decided to install in a new hard drive the new version and adding as slave the old hard drive that it contended data files. When I finish all the installation I start to try to find the old data files but I din't find, (/dev/hdb), the hd is mounted already, but when I look inside all files are hide.

View 2 Replies View Related

Fedora :: Samba Shares Not Appearing In Some Nautilus Windows

Nov 23, 2010

I am in the process of migrating my small workplace to a basic spin i've created of f14. Everything is suave but some file browser windows eg: file upload in gmail, hotmail etc, does not show my samba shortcuts i've created nor even the option to browse the network in the "places" section. It shows other locally created shortcuts but no samba ones. Just to test it, even creating an ftp:// shoftcut yeilds no dice. I had a quick search through the forums and I couldn't find anything. I have a feeling this has an easy solution that my inferior brain cannot comprehend! Loving F14 on my macbook pro and so are my employees in my office! Feels much less bloated than Ubuntu IMHO.

View 2 Replies View Related

Server :: Permissions On New Files / Folders?

Apr 26, 2010

I have a Samba share set up on a SUSE server that about 30 Windows XP clients are connecting to on a daily basis. They connect using Winbind and their Active Directory usernames and passwords which are stored on a Windows small business server (Server 2003). The share is called "company" and it's right off the root of the partition. Within "company" there are about 75-100 folders, most of which need to be publicly available and publicly writeable. There are a few that need to be locked down to a certain group of people so I've used group membership and access control lists for those.

The permissions on new files/folders still aren't right though, so I'll just try to explain what I WANT rather than trying to resolve what is HAPPENING since I think that'll be easier. Currently the entire company directory and all subdirectories and files are user-owned by "administrator" (an active directory domain admin). I'd like new folders and files created anywhere in that directory or any subdirectory to maintain that ownership by administrator, regardless of who creates them.

Likewise, the entire directory and all subdirectories/files are group-owned by "domain users" (a builtin active directory group which is pulled in via winbind) which gives everyone write access to everything. I'd like that ownership to be maintained as well on any new files or folders created in /company or any subdirectory therein. I think this is working for the most part as I've set the setgid bit on company. I'd like any files or folders created in /company or any subdirectory therein to have 770 permissions (rwxrwx---).

So, what I want is regardless of who creates a file or folder anywhere in "company" - it should be owned by user "administrator" and group "domain users" and have 770 permissions. I'd like to make a little tweak to this post. Above I said I wanted anything created under Company to be created with group owner "domain users" - that actually only goes for anything that will be public. On the folders I have locked down via group membership and ACLs the new files/folders created within should maintain ownership of whatever group owns that directory. I should be able to do this by setting rwxrws--- permissions on secured directories.

View 2 Replies View Related

Server :: RHEL 5 - How To Set Permissions On Files / Folders

Jul 1, 2010

I am using RHEL 5 on my server. The client machines are windows XP.File sharing is through samba server which is working okay. On this file server there is a shared directory for users. This directory contains files which are used by various users through oracle APP. and DB server.

At present the folders under the "shared" folder are having all permissions i.e. 777. To restrict certain things, I want that users may read and modify the files but may not be in a position to move or delete the files. How to set the permissions on the folders/files in this scenario?

View 1 Replies View Related

CentOS 5 Server :: Installed CentOS 5.3 On A Machine, And Need A Samba Version 3.2 Or Higher?

Jul 8, 2009

I've installed CentOS 5.3 on a machine, and I need a Samba version 3.2 or higher. Since 3.4 is out, I thought I'd grab that. But, "yum list|grep samba" gives me only version 3.0.33. Is there a package of Samba I can grab that will upgrade the 3.0 installation so that I don't have two laying around? If not and I need to compile from source, do you have any suggestions for what arguments I should give configure? I'm not used to Linux coming from the BSD world

View 1 Replies View Related

Server :: Find And Unzip Selected Sub Folders In Tar.gz Files?

Nov 4, 2010

There are few hundred tar.gz files each having several sub dirs in them (ex: ftp_server1_logs, mail_server2_logs). However the main tar.gz files (ex: 20101001.tar.gz) does not contain all sub dirs every time (ex: 20101001.tar.gz may only contain some ftp server log dirs etc..)

what i have to do is find the tar.gz files that contain a specific type of log type (ex: ftp logs) and extract all logs to a single folder (ex: ftp logs)

View 1 Replies View Related

CentOS 5 :: Trash For Deleted Samba Files?

Jul 12, 2010

I use a CentOS 5.4 machine as a Samba file server for a WinXP SP3 box. I noted that when I deleted files under the Samba server from WinXP, there is no trash can for them. What I delete is lost for good. Is there a Samba config setting that puts deleted files into a trash can?

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

Software :: Syncronization Of Some Files/folders From A Lot Of Servers To One Central Server?

Sep 1, 2010

I'm looking for a Syncronizacion Softwares (running as a daemon) to do a unidirectional syncronization of some files/folders from a lot of servers to one central server.As there are a lot of servers i want a software that only needs to be installed on the central server and pulls the files/folders from the other servers.rsync and unison need to be installed on both machines and syncronize the files/folder by sending them from al the servers to the central server(its no the central server the one who pulls the files/folder from the other servers), so they dont work for what i want.

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

General :: Access Windows Files And Folders From Enterprise System Server?

Sep 17, 2009

I am new to Linux.I have installed dual boot, XP(NTFS) and Enterprise Linux Server on same desktop.Now how can I access windows files & folders from Enterprise Linux Server?

View 4 Replies View Related

CentOS 5 Networking :: Get Samba To Share Files From Ntfs Drive?

Jun 12, 2009

The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?

View 3 Replies View Related

CentOS 5 :: Make A Fresh Installation Of Samba - Don't Have The Configuration Files

Sep 19, 2011

i wanted to make a fresh installation of samba so i uninstalled and then reinstalled samba and the configuration files remained with the old configuration so i deleted the /etc/samba/ folder and now after reinstalling samba i don't have the configuration files i thought the installation process will create them ,but it did not do that

View 2 Replies View Related

Server :: CentOS /Samba Server- XP Windows Client File Sharing?

Nov 3, 2009

I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss

View 7 Replies View Related

CentOS 5 Hardware :: D-Link DWA-140 On C5 Disappearing / Fix It?

Jun 26, 2010

I recently bought a D-Link DWA-140 USB wifi adapter for use with my CentOS 2.6.18-194.el5 hoping that it would work seamlessly due to its popularity but having issues with it.

The USB adapter is detected in the System > Administration > Hardware.

It also appears in lsusb:

but when I went into System > Administration > Network it does not appear in the Hardware tab.

After some searching I found out that I need to install some packages which I did.

Namely, rt2870-firmware rpm and kmod-rt2870sta

Then I turned NetworkManager on as a service and through the docked applet on the top menu bar I was able to connect to my wifi net.

However when I rebooted the connection wasn't re-established and when I click on the NetworkManager applet icon it tells me "No network devices available"

Where did my USB adapter and joy go? :(

I can't for the life of me get the adapter to re-surface even if I go to System > Administration > Network and try create a new interface.
No devices appear there in the Devices tab and nothing in the Hardware tab.

View 5 Replies View Related

Ubuntu :: Desktop Files Disappearing After Reboot?

Jun 8, 2011

I setup the chromium browser to come up in kiosk mode in the startup applications and after rebooting it does not come up in kiosk mode and the startup application entry is now gone.I have several machines and though they all have the exact same hardware and software, some lose the startup application entry on reboot and some do not.I was wondering if anyone might know what is going on and what might be the fix for this. I don't think it is a chromium problem, but I am positive.

View 1 Replies View Related







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