LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2004, 05:00 AM   #1
Sohni
Member
 
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
username=user,password=psw,uid=user,gid=users,
fmask=777,dmask=777,workgroup=workgroup,rw,
iocharset=iso8859-13,codepage=cp775,ttl=10000

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
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
set the ttl to 0 .
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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