Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Unable to delete "lock" files

$
0
0

I've a couple of old "lock" files from a long-dead host backup that I'd like to delete. However, whenever I attempt to delete them I get messages that indicate that I cannot do so.

 

Using a Windows 7 box I've tried the following (as a domain administrator):

 

Created a mapped drive (Z:) to the location (\\nasbox\VM).

Tried a simple "right-click and delete" - I get a message that indicates that the file is open in another program (it's not).

Run a subinacl command to grant full control of the file to the domain administrator - I get an error message that reads "Error : 1314 A required privilege is not held by the client".

 

Using a Linux box I've tried the following (as "root"):

 

Mounted the location to a mount point (/mnt/nasbox)

Ran an "ls -l" command to determine the owner and group of the file(s) - owner and group are "root", permissions are 0444.

Attempted a "chmod 666" of the files - I get an error message that indicates that permission is denied.

Attempted an "rm --force" of the file(s) - I get an error message that indicates that permission is denied.

 

It's not that these lock files take up a lot of disk space - they're only 11 bytes each. But they're unneccessary and, well, they make the directory look "messy".

 

Any ideas on how I can get rid of the files in question?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>