Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-11-2010, 01:44 AM   #1
Registered: Sep 2010
Posts: 71

Rep: Reputation: 2
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 access those folders which are working fine.but now i want to revert it as it could anyone tellme how to make a folder unaccessiable.and is there any specific command which gives my sub folder accessiable with one thre any command such that one user can access all sub folders and other users should not.Any help highly
Old 12-11-2010, 06:19 AM   #2
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,409

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied even with chmod 777 Zabrajin Linux - Newbie 19 02-06-2011 08:40 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
want to avoid 777 permission, but want to write on folder suruchiparimu Linux - Newbie 10 02-09-2006 04:25 AM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Networking 10 09-07-2005 01:20 AM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Software 0 08-29-2005 12:42 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration