Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-11-2010, 12:44 AM
|
#1
|
Member
Registered: Sep 2010
Posts: 71
Rep:
|
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
|
|
|
12-11-2010, 05:19 AM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,176
|
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.
|
|
|
All times are GMT -5. The time now is 03:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|