General :: Release File Lock In SAMBA 3.2.5 Share - MS Word - Filename - Is Locked For Edit

Sep 20, 2010

I'm having problem with the Samba 3.2.5 file share which host my MS-Word Document the user (user1) already restart her PC but still she cannot open the file from MS Word.

Here's the file and it's status on the samba drive:

Code:

How to reset the Samba file locking mechanism ?

View 6 Replies


ADVERTISEMENT

General :: Edit Last Word On Each Line In File?

May 28, 2010

I have a file which a number at the end of each line. I need to change this number in the file to be correct, i.e. each time the number is 9 it needs to be 1, each time it is 233 it needs to be 2, etc... There is no pattern to the numbers currently in the list other than the same number appears only in a single line/group of lines, not throughout the file, but the replacements need to be sequential (but can be repeated an arbitrary number of times).

[Code]....

View 10 Replies View Related

Ubuntu Networking :: Samba NTFS Mount Mercurial Commit DeprecationWarning: Use Lock.release

Feb 8, 2010

When trying to commit or get status from a mercurial repository on a mounted NTFS filesystem i get the following error:

Code:
/usr/lib/pymodules/python2.6/mercurial/lock.py:71: DeprecationWarning: use lock.release instead of del locklocker = self.testlock()

I found a couple of person who had the same problem but i can't find a solution.

View 4 Replies View Related

Ubuntu :: Release Lock On File On Computer?

Sep 21, 2010

Ubuntu 10.04, I transferred a Word Processor document via SSH2 from kristin's laptop to my desktop computer on my network the other day. Since that time, both computers have been shutdown. Today, I wanted to open the document and got the following notice.

Quote: Document file 'Sound Fix.odt' is locked for editing by: kristin ( 15.09.2010 16:08 )

Open document Read Only or open a copy of the document for editing.All I can figure is, maybe I didn't exit the gFTP application properly. How do I release this lock on this file on my computer?

View 2 Replies View Related

Ubuntu :: Unison - Archive Locked But No Lock File?

May 19, 2011

I use Unison to synch files between my netbook and desktop. Have done for a while without issue. I hadnt used it for a while and now, when doing so, i cannot get it to work.I get the following error message:

Code:
Looking for changes
Fatal error: Warning: the archives are locked.

[code]....

View 2 Replies View Related

General :: Find/grep/wc Command To Find Matching Files - Print Filename And Word Count?

Sep 11, 2009

I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:

wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;

View 10 Replies View Related

Programming :: Delete All Files With Specific Word In Filename?

May 21, 2011

I need a command to find the all files which filename contains the text "SomeText" and to delete that files!From /home/movie/wp-content/uploads/this folder I have lots of files and folders .Also I need that for folders and subfolders who contains some text in folder name "someTextInFolderName"

View 13 Replies View Related

OpenSUSE Network :: Samba Share Shows Many Hidden Files Like ".directory.lock.?????.test"

Aug 7, 2010

I just noticed that I find lots of hidden files named ".directory.lock.??????.test" across my samba-shared file system. The questionmarks stand here for some random alpha-numeric patterm.

- Which application might have created them?

- Is it save to delete those ?

With e.g. "find . -type f -name ".directory.lock.??????.test" -exec rm -f {} ;"

View 1 Replies View Related

General :: Samba Kerbers Retries Until Account Locked

Mar 23, 2010

I am using OpenSuse 11.2 and Samba/Kerberos to authenticate to a Active Directory Domain Server. It works fine if the enter the correct password, but if I enter an incorrect password samba keeps trying to used the same credentials to authenticate, and after five attempts AD locks out the account. I verified this with wireshark. I can't find any configuration options to limit attempts to one and then ask the client to renter the password.

View 6 Replies View Related

Programming :: Bash Shell Script Read File Word By Word?

Jan 21, 2011

I have a output file look like this:
{"test1" : "test2", "test3" : "test4"},

How can I read word by word in each line?This is not working code:

a=0
while read word
do a=$(($a+1));

[code]...

View 14 Replies View Related

Debian :: Num Lock Locked After Login

Jun 26, 2015

I have Debian 7 with LXDE installed on a msi-based-notebook. Immediately after i make the login (in graphics mode), the LED of "num lock key" turns on and lock,making the keyboard impossible to type properly.

I've tried to reconfigure keyboard,but it had no effect. And yes,i have tried to use the "Fn key + num lock" combination, but had no effect too.

View 3 Replies View Related

General :: Set A Pattern That Will Output A Filename Equal To The Original Filename In SoundConverter?

Jan 23, 2011

$ uname -a
Linux a 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 i386 GNU/Linux
$ lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch

[Code].....

How can I set a pattern that will output a filename equal to the original filename? E.g.

something.mp3 → something.ogg

And why isn't this implemented in SoundConverter?

PS: {Filename} doesn't work.

View 1 Replies View Related

Ubuntu :: File Share With Windows Not Samba?

Jan 25, 2011

I had a connection to my other Windows computer the other day automatically in the Places-->Network-->Windows Network folder but it now seems to have disappeared. I tried going to Place connect to server and typing in the WIndows computer name but it won;t connect and errors out. I also tried the IP: Cannot display location "smb://%5C%5C192.168.1.36/"

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

Ubuntu :: Pdflatex File Not Found On Samba Share

May 31, 2011

I am trying to compile a LaTeX document using pdflatex on a CIFS/SAMBA network share.

The file compiles fine on the local drive.

Then if I copy it on to the network share and run pdflatex foo.tex I get:

Code:
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
! I can't find file `foo.tex'.
<*> foo.tex

I can view the file with less, so it's not permissions.

My fstab mounts the drive as:

Code:
//someserver/dir /mnt/mountpoint cifs user,username=****,rw 0 0

View 2 Replies View Related

Ubuntu Networking :: DHCP On Samba Share - No Corresponding File In OpenBSD

Feb 16, 2010

I'm swapping from an OpenBSD 4.5 DHCP server to using Ubuntu 9.10 I notice in /etc/samba on Ubuntu there is a file called dhcp.conf with the singular line "wins server ==" There is no corresponding file in OpenBSD so how do I configure this file

View 2 Replies View Related

Ubuntu Networking :: Samba Share With Login And File Permisions?

Feb 23, 2010

I have a folder on my linux server and I want to be able to share files to windows users in this manner :

1. Require login with username and password when accessing file share.

2. Files created by logged in users become owned by them (I can create local accounts for this matter to all the users).

3. Depending on permissions files created by other users can be read only by logged in user.

I thought of going in samba way for this but I'm not familiar with samba enough to make something like this. If any other sharing method is required I can go for it since I'm doing this from a scratch but that only if its not possible with samba.

View 5 Replies View Related

Ubuntu Networking :: Mount Share And See ?'s In Filename

Aug 17, 2010

I'm trying to mount a windows share (that mac users use) using:mount -t cifs //x.x.x.x/Graphics /mnt/graphics -o username=x,password=x,iocharset=utf8.It mounts ok for the most part, but where the mac users put bullets in front of their file names, ubuntu displays questions marks. I've tried this without the iocharset as well and same result when I execute ll -l.

View 1 Replies View Related

General :: Shell - What's The Difference Between Filename And ./filename

Apr 23, 2010

What is the difference between filename and ./filename? Under what circumstances is one preferred to the other?

View 5 Replies View Related

Debian Configuration :: File Share Unavailable From A Reboot Until Restart Samba

Jul 3, 2011

I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.

View 2 Replies View Related

OpenSUSE :: Get A Script Or App That Go Through The Samba Share Recursively And Change All File Names?

Apr 5, 2011

I have a samba share that was previously hosted by and accessed by Windows operating systems. As a result the filenames of all the files are not very command-line/linux friendly. I need to get a script or app that can go through the samba share recursively and change all file names to lowercase and replace spaces in the names with a ".", "_" or something.

View 9 Replies View Related

Ubuntu :: File Browser Will Not Maintain State Mounted To Samba Share?

May 12, 2010

I am running Ubuntu 10.4 [64bit] on a AMD dual core with 4gb of RAM. My Problem: I am mounting to a Windows share from my Ubuntu box and everything is working as expected however, when a file is added, deleted, or modified the Ubuntu File browser does not reflect that change until the next refresh. The Windows users with Explorer will reflect the change immediately and automatically.

Is there a way to make the Ubuntu File Browser respond like Explorer when mounting to a Windows share? I call this behavior "maintaining state".

View 1 Replies View Related

Networking :: Share A File Via Samba On A Ubuntu Server That Is Actually Stored On A FreeNAS Box?

Mar 10, 2011

I'm trying to share a file via Samba on a Ubuntu server that is actually stored on a FreeNAS box. The FreeNAS drives are mounted via NFS and the Samba share contains a symlink to file on the FreeNAS drive.Browsing the Samba share I can see the file and size, but any attempt to read the file fails. It complains about authentication but all credentials across all machines are the same.So, is it possible to share a file this way or is there another way to do this?I know I could create all the profiles on the FreeNAS box but for convenience and ease of maintenance I was hoping to do this via the Ubuntu server

View 1 Replies View Related

Server :: Samba Share File/folder Names Ending In Period?

Aug 31, 2010

On one of my Samba shares on my server I have a folder of mp3 files of my CDs. The one I am having an issue with is "Clarence Carter/Dr. C.C." (yes, the one with the ULTIMATE party song). The "Dr. C.C." folder name is normal locally on the server, but across Samba it comes out "DMOU3A~H". It's definitely Samba doing it, because I get the same result whether accessing the share from Linux or Windoze. I can still access the folder this way, but it would be nice to not have Samba mangle the folder name this way. I am using Samba 3.4.2 on an Athlon64 X2 system running Slackware64.

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

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

General :: Processing Log File Within Certain Dates Based On Filename

Apr 8, 2010

I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like:

N3.2009-11-26-03-05-02.console.log.tar.gz
N4.2009-11-29-00-25-03.console.log.tar.gz
N6.2009-12-01-10-05-02.console.log.tar.gz

I am using the following command:
zgrep -a --text "TEST" * | awk -F"[ .,]" '{sub(".*:","",$6); sub(",.*","",$7); print $1,$6,$7,$10}
and getting
N3 2009-11-25 20:12:57 TEST
N4 2009-11-28 10:42:18 TEST
N6 2009-12-01 10:00:24 TEST

If I only want to search the log file after 2009-11-29, what shall I change the command?

View 1 Replies View Related

General :: How To Add Word At The End Of File

Sep 13, 2010

I'm trying to add a word at the end of a file that already contains data. I need to do it using a single command without human interaction cause it's gonna be part of an automatic script.

View 2 Replies View Related

General :: Filename Beginning With Left Bracket: File Cannot Be Erased

Nov 28, 2010

Kernel 2.6.21.5, Slackware 12.0

I saved a page from Linuxquestions. It was saved under a filename beginning with '[' (left square bracket). And I now can't delete the file. Unfortunately I cannot send you a screenshot because opening a terminal in the GUI makes ls behave differently. I shall try to describe, assuming the file is in dir '.'. Also let '[SOLVED]foo.html' be the file in question:

Code:
$ ls
<the file is listed>
$ ls [*
/bin/ls: cannot access [*: No such file or directory
$

If I want the hdd to get rid of this file, what should I do? Any hint will be welcome.

View 2 Replies View Related

General :: Search Word And Delete Only The Word And The Line Using Sed Command?

Jun 28, 2011

Want to search for ~ and delete it as well as to append the entire line to the above line. For Ex:

1111xxxx date Sandy area is ~around this area.3222xxx date There seems to ~left side of map, the colours are accurate (showing green areas)Even if I ~zoom in, the green parks, xxx3258 date The dammed up
~away, the "other" body of water varies ~blackNatural gas leaching.

IT MUST LOOK LIKE:

1111xxxx date Sandy area is around this area. 3222xxx date There seems to left side of map, the colours are accurate (showing green areas)Even if I zoom in, the green parks, xxx3258 date The dammed up away, the "other" body of water varies blackNatural gas leaching.

View 4 Replies View Related







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