I'm setting up an automatic mount point on one of my servers. However, for this file I only want certain people (permissions) to access it once it is mounted. I'm figuring I need to place this either on an ACL (via setfacl) or by configuring this in my mount point config file (auto.misc) . Has anyone done this before, restrict use of an auto mounted directory?
I have a problem with sshfs. I want to share a binary with some others computers, but i only want them to be able to execute (no read/write ). So, on my main server, I chown root:root bin & chmod 701 bin. That work nicely on main server, local users can execute bin w/o read/write ... But when I mount directory using sshfs, users cant exec/read/write ...
SSHFS version 2.2 FUSE library version: 2.8.4 fusermount version: 2.8.4 using FUSE kernel interface version 7.12
on F12 (2.6.32.11-99.fc12.i686.PAE) autofs/udev generates the following messages at every boot:
Code:
May 5 00:28:30 foo udevd-work[679]: setfilecon /dev/autofs failed: No such file or directory May 5 00:28:30 foo udevd-work[679]: chmod(/dev/autofs, 020660) failed: No such file or directory May 5 00:28:55 foo automount[1131]: failed to mount /media/.hal-mtab
I have a server with a /data/ directory, everything in the /data/ folder has "-rwxrw-rw- 1 root root" permissions.all works fine, multiple users are mounting this over a lan and everyone is able to modify files. However I would like to be able to access the /data/music/ directory from the internet.
Is it possible to configure sshfs to only accept logins from a user restricted to reading the /data/music directory, or would it be possible to tunnel nfs over ssh in such a way that everyone on the lan 192.168.0.xxx has unrestricted access to the data directory, but something coming from outside only has read access to the music directory. Although is one were tunneling nfs over ssh, the nfs mount request would appear to come from the server itself. The router is at 192.168.0.1 and the server is at 192.168.0.3.This Seems very much like what I want to do, however I'm having a bit of trouble getting this to work well with other users mounting with full rights over the lan too.
We recently had a serious loss of data because of SSHFS mounting. A user in our group mounted the entire home directory of our server (/home). This was so they could easily move between user folders to read/write data from other people involved in the same project. They then deleted several folders that were not in there home directory.
Now I know this is a bad idea and that there should be a dedicated "projects" folder where everyone collaborates and does their stuff. Such a folder/system exits but I can't make them use it. My question: Is there anyway to configure SSHFS such that the only thing the user's can mount is their home directory? Obviously this won't fix the problem since they can sym-link to other folders but I've got to start somewhere. Perhaps there's a better solution (one that doesn't involve me nagging users about proper form).
I have some trouble using autofs with Slackware64 13.0I use the alien's script [URL]Here's my auto.master :/mnt/autofs/etc/auto.misc --timeout 20Here's my auto.misc [URL]
Installpkg will no longer work, complaining that the rev command is not found. The problem hit with the removal of util-linux-ng. I cp'd util-linux to ~/. Extracted with tar and executed the doinstall. Fixed.
I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get
[code]...
What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?
Quote: The precompiled Slackware kernels are available in the /kernels directory on the Slackware CD-ROM or on the FTP site in the main Slackware directory. I am unable to reach it, what's the proper login?
In Elastix, I get to amportal.conf via the /etc/ director. The file tells you:
[Code]...
It appears that AMPADMINLOGO=logo.png is calling out to something that is not there. I can't even find AMP directory. See below. Do I need to create a directory? This is the result of an ls -F at my /etc/ dir:
I am using GTKPOD to add music and sync my Ipod touch. I have gtkpod up and running and I have gone through the initial steps of changing the repo and selecting my ipod touch. But now when I try to "load ipod" i am receiving an error stating that the IPOD directory structure not found.
I have changed the repo so that is ipod mount point: /mnt
But after selecting load ipod;
Could not find iPod directory structure at '/mnt'.
If you are sure that the iPod is properly mounted at '/mnt', it may not be initialized for use. In this case, gtkpod can initialize it for you.
Do you want to create the directory structure now? >>>Create Directory Structure
Following this message; Warning
The following has occured:
Error initialising iPod: Problem creating iPod
How do i create the iPod Directory Structure that it is asking for?
I have FC10 newly installed, and Apache is serving content from /var/www/ okay.
I'm trying to get Apache to serve web content from user's home directories. This is what I've tried with no success:
Uncommented 'UserDir public_htm' in /etc/httpd/conf/httpd.conf and commented out 'UserDir disabled'.
And...
Uncommented user directory section in /etc/httpd/conf/httpd.conf. It now reads as follows: # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. #
[Code].....
I also tried setenforce 0 to temporarily disable SELinux until the next reboot. No luck. It doesn't appear to be an SELinux issue.
That's as far as the information available will take me. I still get URL 'Not Found' when I try to access http://192.168.0.2/~myusername/
I'm trying to load drivers from .tar.bz2 file. I got the .tar opened and extracted to directory ABC. When I try to CD to that directory, I get a message the directory does not exist even tho' I'm looking right at it and the ls command shows it. The full path is user/downloads.ABC.
When I try to run the next command $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz I get a message Ubuntu 10.04 cannot find -xvzf. When I try to run the Makefile command locate in the same ABC directory, I again the error message cannot find Makefile.
I was checking my server and found a /net directory with nothing visible inside. The mysterious directory is /net and I checked to make sure nothing was mounted to it: [root@mysql /]# mount /dev/sda1 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
I installed squid 2.7 and want to use squid_session external acl rule. But there is no squid_session in any dir, looked everywhere. On my Ubuntu box I also have squid 2.7 and there I have squid_session.
I am running a fairly new Debain Jessie stable installation with Xfce desktop. I need to use Xfce4 becuas the standard Gnome 3 does ot work when logging in with xrdp which I use becuase the actual box is headless.
I have an issue when starting synaptic. When I start it from the menu entry it just does not start. When I start from the terminal with
Code: Select allgksudo synaptic
I get an error box "Unable to copy the user's Xauthorization file" At the same time I can see in the terminal window a message
"Error copying '/home/userxxx/.Xauthority' to /'tmp/libgksu-SwcIe0': File or Directory not found".
I assume it is related to that I use a rdp session to connect, but I am otherwise clueless.
Code: Select alluserxxx@server2>xauth xauth: file /home/userxxx/.Xauthority does not exist
maybe everything changed while i was stuck in 10.3 but i noticed soonafter install, and am just getting around to asking:i find these directories in the system's root directory very surprising:
/.config (with one file inside Trolltech.conf, which is empty) /.kde4 /.kde4/share (empty)
I know that SSHFS is the way to mount the file and directory on remote server. It has many advantages such as security, convenience, fast and so on. I wonder if there is disadvantage of SSHFS and the alternative to it? I am looking forward to your reply.
Sshfs was working before - sheesh, I was using it! Today, all I get is an error that tells me it can't find the command. So I go to yast and reinstall it. No change - I'm still getting the error! What could be going on?? Fuse is installed.
Right, just a quick question about rsnapshot over sshfs and encfs. I've set up an encfs filesystem, and when mounted on the remote machine remotely:
Code: touch foo.bar Code: cp -al foo.bar foo.car Works as one would expect it to.
The same is true on the local machine (The EncFS has External IV chaining disabled). However, when the remote dir is sshfs mounted on my computer here, and then encfs'd to a decrypt mount on my computer, I can move files to it, and they go over the network and get encrypted, however:
Code: cp -al <file> <file> No longer works, I get 'not implemented' errors...
I thought since I don't have External IV chaining this shouldn't be an issue - I've tried without any of the file chaining options, again to no effect. All work remotely, or with both locally, but not over sshfs. Is this a quirk of sshfs?
I just updated to 10.04 from 9.10 and suddenly gedit is saying I don't have permission to save files in an sshfs-mounted directory. Nothing I've found through Google works.
* I'm mounting using `sshfs james@of1-dev-james:/home/james/projects $HOME/projects`
* `fuse` is listed in /etc/modules
* I'm a member of the `fuse` group
* Using `newgrp fuse` before mounting stops gedit from seeing the mounted directory at all.
* /dev/fuse belongs to `root:fuse` and has `crw-rw-rw-` permission.
* Other apps e.g. `nano` have no problem reading/writing to this directory.
I'm wondering if anyone can give me some guidance, or point me to a relevant reference for setting up a single purpose ssh key.I have setup a single purpose key for rsync, where I have command="/path/to/rsync-secure" associated with the public key in .ssh/authorized_keys, and the rsync-script checks to make sure incoming commands begin with 'rsync --secure', What I would like to do is do something similar to allow sshfs access, and have the server path that can be mounted locked down to a particular location. Does anyone have any suggestions as to how this could be done?As an aside, I might also want to restrict the above rsync script to only allow synchronization to a particular path.
i just create a nfs server and share a /123 directory , i can successfully mount this share using mount command , but i cant be mount using auto.master (autofs) , how can i mount this share using autofs .
Problem :A couple of programs I use (or would like to use) seem to be unable to locate "gdkpixbuf.h". This kind of error occurs, every-time :
Code: /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory Now, I realize, this file that is being looked for, is over at "/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/",