[Samba] xls file locked for editing by unknown user

Dave Coventry dgcoventry at gmail.com
Tue Jun 29 05:34:14 MDT 2010


Hi Dennis,
On 29 June 2010 11:47, Denis Fateyev <denis at fateyev.com> wrote:
> Hello Dave,
>
> `lsof | grep "your-file-name"`

The command:
lsof | grep "Electricity Spreadsheet.ods"

Give no output.

The User says that all the files in the directory are locked. So, I've run
lsof | grep "Water & Elec Consumption"

which gives this output:
bash      4103       root  cwd       DIR        8,2     4096
67715823 /home/patience/Water & Elec Consumption
bash      5466       root  cwd       DIR        8,2     4096
67715823 /home/patience/Water & Elec Consumption
lsof      5619       root  cwd       DIR        8,2     4096
67715823 /home/patience/Water & Elec Consumption
grep      5620       root  cwd       DIR        8,2     4096
67715823 /home/patience/Water & Elec Consumption
lsof      5621       root  cwd       DIR        8,2     4096
67715823 /home/patience/Water & Elec Consumption

# kill 4103
# kill 5466
# kill 5619
-bash: kill: (5619) - No such process
# kill 5620
-bash: kill: (5620) - No such process
# kill 5621
-bash: kill: (5621) - No such process
# lsof | grep "Water & Elec Consumption"
bash      4103       root  cwd       DIR        8,2     4096
67715823 /home/patience/Water & Elec Consumption

All files in /home/patience/Water & Elec Consumption still locked.

:~(


More information about the samba mailing list