Find the answer to your Linux question:
Results 1 to 5 of 5
I made a terrible mistake. I executed "chmod a-rwx -R ." (as local root user) in a directory, where my samba share (on Linux server (SuSE 9.2), on which I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Ljubljana, Slovenia
    Posts
    18

    Permissions on samba share


    I made a terrible mistake. I executed "chmod a-rwx -R ." (as local root user) in a directory, where my samba share (on Linux server (SuSE 9.2), on which I do not have admin rights) was mounted. I can't see the share anymore (permission denied) and I also can't log in directly on the server using my server account. How to resolve this problem?

    Many thanks in advance.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Try "chmod a+rwx -R ." then.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Ljubljana, Slovenia
    Posts
    18
    It doesn't work. I mounted the share in /mnt/test and if I try doing "ls /mnt/test" or "chmod a+rwx -R /mnt/test" I get "chmod: cannot access `/mnt/test': Permission denied". No way to access the share anymore.

    The problem is that the server system administrator (which, I suppose, could easily fix the problem) is on vacation.

  4. #4
    Just Joined!
    Join Date
    Jun 2005
    Location
    Ljubljana, Slovenia
    Posts
    18
    Also the same samba share is not accessible from windows.

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Location
    Ljubljana, Slovenia
    Posts
    18
    I have already fixed the issue (I logged on the server via ssh and set the permissions).

    Thanks anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •