Guest airportugal Posted December 13, 2005 Report Share Posted December 13, 2005 Hi there, I run a Mandrake LE 2005 system and wanted to increase the system security by disabling certain startup services. One of them was netfs and his "friend" nfslock. After a reboot, I found out that all the mutex "nfslockfile.lock" files were still in every folder. When trying to ls -l certain folders, the sytem prompts: /var/videogallery/nfslockfile.lock: Permission denied Unable to open lockfile! Be sure that '/var/videogallery' exists and that both the directory and that file are writeable by this user. Mutex destroy failure: Device or resource busy Even if my user actually owns them and has the right permissions over them. Then I removed the nfslockfile.lock, that seemed to hold the lock, but now I cannot open any of the contents of the folder (and I got all permissions to do so). ls -la /var/videogallery ls: /var/videogallery/.: Permission denied ls: /var/videogallery/..: Permission denied ls: /var/videogallery/cd-dvd: Permission denied ls: /var/videogallery/shaolin_soccer.avi: Permission denied What's going on? It has anything to do with nfs locks, but I don't know what nor why.. Thanks for your help, xavier [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
lavaeolus Posted December 14, 2005 Report Share Posted December 14, 2005 did you want to disable the nfs-server ? nfs, nfslock and portmap are services involved with the nfs-server netfs is the client side, it mounts all external network-filesystems on your machine so if you want to disable nfs-server, make sure to disable the services nfs, nfslock and maybe portmap (beware, portmap could be used by some other services) Quote Link to comment Share on other sites More sharing options...
Guest airportugal Posted December 14, 2005 Report Share Posted December 14, 2005 did you want to disable the nfs-server ? no, I didn't have any nfs-server on. I wanted to disable the client side services netfs, portmap and nfslock, since I don't use them. Do you know what's going on with my folder permissions? thanks, xavier Quote Link to comment Share on other sites More sharing options...
aioshin Posted December 15, 2005 Report Share Posted December 15, 2005 netfs should be on when you want to mount samba shares, if the problem is with permission, if you have a root access on that pc (am sure you have since you were able to disble those services mentioned :P ) try to, as root #chmod 755 -R /var/videogallery that would give permission to owner - rwx = 7 group - rx = 5 other ( or all users ) - rx = 5 -R = recursive, so the permission will be applied to folder videogallery and all files on it Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted December 15, 2005 Report Share Posted December 15, 2005 To disable the client side, I removed it: urpme nfs-utils-clients Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.