LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-11-2010, 12:44 AM   #1
mohdsuboor23
Member
 
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 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
 
Old 12-11-2010, 05:19 AM   #2
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 775

Rep: Reputation: 173Reputation: 173
chmod

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.
 
  


Reply


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 07:40 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
want to avoid 777 permission, but want to write on folder suruchiparimu Linux - Newbie 10 02-09-2006 03:25 AM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Networking 10 09-07-2005 12:20 AM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Software 0 08-28-2005 11:42 PM


All times are GMT -5. The time now is 05:21 AM.

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