automount and permissions?

This is a discussion on automount and permissions? within the SUN forums, part of the Systems category; [ Article reposted from comp.unix.solaris ] [ Author was Jarosław Rafa ] [ Posted on Mon, 03 Nov 2008 00:11:34 +0100 ] Hello, is it possible to change the default ...

Go Back   Unix Linux Forum > Technologies & Tools > Systems > SUN

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-03-2008, 04:26 AM
Default automount and permissions?


[ Article reposted from comp.unix.solaris ]
[ Author was Jarosław Rafa ]
[ Posted on Mon, 03 Nov 2008 00:11:34 +0100 ]

Hello,
is it possible to change the default permissions of an autofs mount point?
I have some automounted directory, say be it /var/ftp/download, with the
following entry in /etc/auto_master:

/var/ftp/download ftp_down -nobrowse

(/etc/ftp_down is of course the file specifying the detailed automount
map). The problem is that the mount point /var/ftp/download is always
created with permissions r-xr-xr-x no matter what I try, so the user can
always list the contents of /var/ftp/download with "ls" and view the
names of the currently mounted subdirectories.
I want the users to be UNABLE to list the contents of the directory
/var/ftp/download and view what subdirectories are mounted within it.
Simply said, I want the /var/ftp/download directory to have permissions
--x--x--x, not r-xr-xr-x. Can this be achieved in any way?
--
Regards,
Jaroslaw Rafa
raj@ap.krakow.pl
--
Zapraszam na moja nowa strone: http://www.ap.krakow.pl/~raj/
Reply With Quote
  #2  
Old 11-03-2008, 01:06 PM
Default Re: automount and permissions?

In article ,
Jaroslaw Rafa wrote:

> [ Article reposted from comp.unix.solaris ]
> [ Author was Jaros˝aw Rafa ]
> [ Posted on Mon, 03 Nov 2008 00:11:34 +0100 ]
>
> Hello,
> is it possible to change the default permissions of an autofs mount point?
> I have some automounted directory, say be it /var/ftp/download, with the
> following entry in /etc/auto_master:
>
> /var/ftp/download ftp_down -nobrowse
>
> (/etc/ftp_down is of course the file specifying the detailed automount
> map). The problem is that the mount point /var/ftp/download is always
> created with permissions r-xr-xr-x no matter what I try, so the user can
> always list the contents of /var/ftp/download with "ls" and view the
> names of the currently mounted subdirectories.
> I want the users to be UNABLE to list the contents of the directory
> /var/ftp/download and view what subdirectories are mounted within it.
> Simply said, I want the /var/ftp/download directory to have permissions
> --x--x--x, not r-xr-xr-x. Can this be achieved in any way?


why did you multipost this. See replies in the Solaris group. Your
answer will still be "automount doesn't work the way you want. Rethink
your use of it with ftp"

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]


Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 08:20 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger