Can't delete read-only files on Linux
drag0n2 at yahoo.com
Fri Oct 15 19:16:04 GMT 1999
I am mounting an NT share from a linux(RH6.0) box using smbmount (samba
smbmount //machine/cvsrepository /home/user/cvsrepository -U user
I am trying to delete a read-only file in the mounted directory. The directory
has proper write permissions:
chmod +w .
chmod -w test
rm: remove write-protected file `test'? y
rm: cannot unlink `test': Permission Denied
chmod +w test
rm test (this succeeds).
And, I can remove the same file if I "net use" the share on some other NT
I need to be able to delete the read-only file in the writable directory.
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
More information about the samba