i have given chmod 777 permission for access now how to revert that permission
Hello everyone I have samba server. in my office some one has configure samba in such a way that i can see my share folder name as myshare.but under myshare i can access some folders but i cant access most folders so when im trying to open its giving error as access is denied.i hve given command chmod 777 foldername.to access those folders which are working fine.but now i want to revert it as it was.so could anyone tellme how to make a folder unaccessiable.and is there any specific command which gives my sub folder accessiable with one command.is thre any command such that one user can access all sub folders and other users should not.Any help highly appretiated.is
The answer depends slightly upon how you have SAMBA set up, but
Assuming that you are locally authenticated and these are under your home folder, you depend upon and live in 'cmod land'! If 'chmod 700' makes them unavailable over the samba share, then you are not being authenticated using your linux account properly. Most folders I have set "chmod 751", but suit yourself, just make sure that the FIRST digit is 7 so that you have maximum personal rights over your personal folders.
|All times are GMT -5. The time now is 09:40 PM.|