Re: Linux smb r/w access on subdir in Windows share
smbmount will do both IF your personal directory is also a share.
You can mount the big share ro on /mnt/bigwin and
the personal share rw on /mnt/personalwin
BUT your personal share has to be a share. If it's a homedir, it may be
a hidden share (starts with a $). I don't know how smbmount will like
that $ . . .
If it isn't a share unto itself, then you can mount bigwin a 2nd time rw
at /mnt/dontusethisbigwin and create a symbolic link from
/mnt/personalwin to /mnt/dontusethisbigwin/subdir/subdir/personalwin
On Sun, 2003-10-19 at 03:07, Robert Ian Smit wrote:
> I run Debian unstable on my desktop at work.
> The file and print services are Windows-based, as are most of the
> other desktops.
> I am able to get either rw or ro access to the network share. I am
> also able to print to the Windows network printer.
> Security is not a big issue, it seems, since I am able to read and
> write anywhere on the entire share.
> I would like to create two mountpoints. One that has the entire
> share mounted with ro and one that gives rw access to my personal
> directory which is a subdirectory somewhere on that share.
> I am only able to mount the share and then "cd" along to my desired
> Is it possible to mount a subdirectory?
> If not, is it possible to get some protection by configuring my
> Samba client to enforce access based on where I am in the directory
> tree of the share?
> Currently I am not looking for a better or more secure solution for the
> company network. I just want to make sure that the power of the
> *nix-shell will not result in a disaster. I have never had an oops
> with rm, but I'd like to make sure that a small typo does not wipe
> out the entire shared drive.
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org