Титла: prava pri mount na smbfs
Публикувано от: FuckBTK в Aug 12, 2004, 12:20
Здрасти /mnt/webroot ми е smbfs. Искам там да може да влиза само www-data (uid=33, gid=33). При другите дялове на харда това го правих, като в /etc/fstab за options слагах uid=1000 примерно. При smbfs не ми работи  Работи ли uid=x,gid=y при smbfs ? Ако не работи как мога да огранича достъпа там?
Титла: prava pri mount na smbfs
Публикувано от: Филип Бонев в Aug 12, 2004, 14:38
Здравей, Виж какво ми даде smbmount без аргоменти преполагам, че ще ти е от полза Цитат | philip@neshto:~$ smbmount Usage: mount.smbfs service mountpoint [-o options,...] Version 3.0.5
Options: username=<arg> SMB username password=<arg> SMB password credentials=<filename> file with username/password krb use kerberos (active directory) netbiosname=<arg> source NetBIOS name uid=<arg> mount uid or username gid=<arg> mount gid or groupname port=<arg> remote SMB port number fmask=<arg> file umask dmask=<arg> directory umask debug=<arg> debug level ip=<arg> destination host or IP address workgroup=<arg> workgroup on destination sockopt=<arg> TCP socket options scope=<arg> NetBIOS scope iocharset=<arg> Linux charset (iso8859-1, utf8) codepage=<arg> server codepage (cp850) unicode use unicode when communicating with server lfs large file system support ttl=<arg> dircache time to live guest don't prompt for a password ro mount read-only rw mount read-write
This command is designed to be run from within /bin/mount by giving the option '-t smbfs'. For example: mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test p |
|