Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-06-2004, 05:00 AM   #1
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
smbmount is messing with mount point permissions

I have a strange problem with mounting windows shares.

I use command:

smbmount //server/[ShareName] /home/user/[MountPoint] -o

user is my user name.

I tried it on different shares with success. Everything works fine. On this particular
share mount point permissions are wrong after mount. I cannot delete or modify
items directly under mount point, as mount point permissions are set to dr_xr_xr_x.
Everything is fine in subfolders

The strange thing is that I can modify those items right after I mount the share. Mount
point permissions are drwxrwxrwx. After some seconds the permissions change to dr_xr_xr_x.

I have found out, that this behaviour depends on ttl parameter. If I do not set it, the
permissions are dr_xr_xr_x right away. It seems like server reconsiders directory
access and new access rights are given.

Does anybody know how to fix that problem?
Old 04-06-2004, 10:37 AM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
set the ttl to 0 .


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
smbmount write permissions - root zzyzx Linux - Networking 9 02-09-2005 10:25 PM
can mount with smbmount but not with fstab danahata Linux - Newbie 1 02-25-2004 09:38 PM
Problems changing permissions of mount point DustOffTryAgain Linux - Software 14 09-04-2003 09:18 PM
smbmount file permissions Cosmo92 Linux - Newbie 1 07-08-2003 10:21 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 PM.

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
Open Source Consulting | Domain Registration