Software :: SSHFS - Permissions Denied On Mounted Directory

Jul 8, 2011

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

View 9 Replies


ADVERTISEMENT

Server :: Changing Permissions On NFS Mounted Directory?

Apr 19, 2011

I have a server running RHEL6 and a virtual machine also running RHEL6. I created a directory /home/data on the server and another on the VM. When I mount the host directory on the VM, I am not able to change the ownership/permissions through the VM no matter what. The ownership is set to "nobody" and I can't even change it to root.

View 4 Replies View Related

General :: Create A Folder Or Directory If Permissions Are Denied?

May 24, 2010

i just installed RHEL 5, when iam trying to create a directory or file it is not creating ...

View 7 Replies View Related

Ubuntu :: Sshfs Runs Fine But Can't See The Mounted Content?

Jul 31, 2011

I was able to run sshfs successfully, but I am not able to access the mounted folder. For example, if I execute the following commands, I will get stuck at the last step "cd folder" forever.

username@username-laptop:~$ sshfs username@IP_address: folder
username@IP_address's password:
username@username-laptop:~$ cd folder

similarly, if I try to do a "ls" in the parent folder, it will also get stuck.

I am able to ssh to the remote server though.

View 9 Replies View Related

Ubuntu :: SSHFS Setup On Desktop To Mount HDD (Write Permissions)

Oct 17, 2010

I'm trying to set up sshfs on a desktop/fileserver so that I can mount its HDD's I use for storage on my laptops. My issue seems to be getting permission to write to the mounted drives. I just keep getting permission denied. here is what I think are some relevant tidbits.
mount point on server,

Code:
joe@joe-desktop:~$ ls -ld ~/sda2
drwxr-xr-x 2 root root 16384 1969-12-31 19:00 /home/joe/sda2

HDD I'm trying to mount
Code:
joe@joe-desktop:~$ ls -ld /dev/sda2
brwxrwxrwx 1 joe disk 8, 2 2010-10-17 15:22 /dev/sda2

Mount point on client
Code:
joe@joe-laptop:~$ ls -ld ~/sda2
drwxrwxrwx 2 joe joe 4096 2010-10-17 19:58 /home/joe/sda2

This is the command I'm trying to use to mount
Code:
sshfs joe@192.168.1.103:/home/joe/sda2 ~/sda2

I can chmod the mount on the server to 777 but as soon as I mount the HDD to the server all write permission just goes *poof* and its back to "drwxr-xr-x".Chown seems either, it just wont stick.

View 8 Replies View Related

Ubuntu :: Bash Script That Uses Sshfs To Remotely Mount A SSH Directory?

Apr 23, 2010

I have a bash script that uses sshfs to remotely mount an SSH directory.

Where should i place this script so it mounts with route privileges?

One consideration is i use VPN so the directory needs to be mounted after openvpn is started.

View 3 Replies View Related

Networking :: Limiting Sshfs Access To Specific Directory / Tunneling Nfs Over Ssh

Jan 22, 2010

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.

View 5 Replies View Related

Software :: Limit Mount Points Of SSHFS To Just User's Home Directory

Apr 21, 2010

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

View 4 Replies View Related

Ubuntu :: Mounting Directory Within Already Mounted Directory?

Aug 9, 2011

I am curious if mounting a directory inside an already mounted directory is considered safe? I have done this on an Ubuntu server before but never thought to ask if it could cause problems.An example:

/dev/mapper/Raid5-VMStorage on /var/lib/libvirt/images
/dev/mapper/Raid1-SpareStorage on /var/lib/libvirt/images/Workstations

View 3 Replies View Related

Slackware :: Autofs + Sshfs "Directory Not Found"

Jun 17, 2010

Having some troubles with sshfs + autofs. Roughly following this guide here: [URL] Here is /etc/auto.master:

[Code]....

But when I 'cd' to the dirs /mnt/sshfs/remote1 or /mnt/sshfs/remote2, I get this error:

Code:
bash: cd: remote1/: No such file or directory

View 6 Replies View Related

Ubuntu :: Cannot Change Permissions On Mounted Share?

Jul 18, 2011

I'm having a problem changing permissions on a network share. The share is mounted on my server using cifs. It has been working perfectly for a week or more. I use a bash script to copy files from a temporary folder on the server to folders on my HTPC that are mounted on my server.The server is Ubuntu Server 10.04 and the HTPC is XBMC Live Dharma.

The problems began when I added chmod lines to my bash script to temporarily change permissions. I had the entire mounted share set to 777 on the server, and I was worried that I might accidentally delete the files or something, so I set it to 555 and then modified my script. This was not intended to be a permanent solution, but I wanted to use it as a band-aid solution until I figured out how to do it properly. The mounted folder is called "tabitha" and it is mounted in the home folder of the user "turvy" on the server.The script looks like this:

Code:
#!/bin/bash
#chmod -R 777 /home/turvy/tabitha/hd2/TV

[code]....

View 9 Replies View Related

Programming :: Getting Permissions Denied Error In Every IDE

Jun 8, 2010

I have three partitions. One for each: Windows, Debian and my files. I wanted a partition available in all systems, so I created FAT32 and mounted it as /data and drive D. In linux I created symlinks in my /home folder to /data/documents/xxx/xxx. I wanted to save my projects on that partition, but in every IDE I tried I get the permission denied error.
Screenshot
What should I do to make /data writable for IDEs? As normal user I have full access to it.

View 9 Replies View Related

Ubuntu Servers :: Mounted Usb Drive Permissions Stuck On 777

Jun 18, 2010

I am running Ubuntu Server 10.04 LTS with Kernel 2.6.32-22-generic-pae I was originally using usbmount to autmont the western digital external usb drive I had attached to the system and it was working great. However, while I was adding files to the drive i deleted all of the directories and files that came on the drive out of box such as 'autorun.inf' and an autorun directory containing an icon for the drive.. when I rebooted the drive was no longer mounted, I tried to un/reinstall usbmount a few times but it still didnt work, so I wound up adding the drive into my fstab, my fstab line reads like this

[Code]....

View 2 Replies View Related

Ubuntu :: Change Default Permissions On USB Mounted Devices

Mar 8, 2011

I have a few websites that travel along with me in my usb stick, and I want to have read and write permisions to files on my usb by other users (i.e.: www-data) actually they have 0700. I'm running maverick (linux mint Julia).

View 1 Replies View Related

General :: Setting Up Group Permissions For A Mounted Share?

Jul 6, 2010

Sorry if this is the wrong section for this type of question. Anyway, I have two servers running Ubuntu 10.04. Server A has an NFS share that is mounted on server B, and the former has this share set up with specific permissions for a group called netusers. This group basically grants its users read/write permissions, and blocking all of files from anyone who's not part of the group.My question is this: how can I set up the permissions on server B, such that if I was to add a new user on server B, he would have read/write access to the share? I tried adding a counterpart group called netusers with the same permissions on B, but that didn't work.

View 2 Replies View Related

Ubuntu :: Bash CD Crontabs - Why Permissions Denied

Jan 18, 2010

dave@dave:/var/spool/cron$ sudo dir crontabs
[sudo] password for dave:
dave root
dave@dave:/var/spool/cron$ ls -l
total 12
drwxrwx--T 2 daemon daemon 4096 2009-10-28 16:02 atjobs
drwxrwx--T 2 daemon daemon 4096 2009-09-15 08:09 atspool
drwx-wx--T 2 root crontab 4096 2010-01-18 10:39 crontabs
dave@dave:/var/spool/cron$ cd crontabs
bash: cd: crontabs: Permission denied
dave@dave:/var/spool/cron$ sudo cd crontabs
sudo: cd: command not found

Is this caused by something I have set wrong? I can successfully do:
Code:
sudo cat crontab/dave

View 4 Replies View Related

Programming :: Permissions Denied With Perl/cgi Script?

Feb 23, 2010

My /usr/lib/cgi-bin/script.cgi must create a directory in my /home/myname directory, but in firefox appears:Quote:Software error:Cannot mkdir: Permission denied at /usr/lib/cgi-bin/script.cgi line 17.For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error

View 3 Replies View Related

OpenSUSE Hardware :: USB Flash Drives Not Mounted With Correct Permissions

Feb 11, 2011

had trouble writing to a flash drive. checked the permissions, the correct user it there, but the id is root.when logged in as root and attempt to change permissions i get Could not modify the ownership of file /media/disk-3. You have insufficient access to the file to perform the change.

now how as root can not have enough permission? i've been up and down the forums and google to no avail. poked around in the fstab and even mtab as there are two files, one a lock, that seems to come from mtab.

View 9 Replies View Related

General :: Set Default Permissions For New Folders On Mounted Samba Volume?

Feb 1, 2010

I have mounted samba volume and I need to have write permissions for every new folder that's being created (currently, by default, on every newly created folder i have only read and execute permissions).I tried changing umask, but with no effect on mounted folder, umask changed only for local filesystem. I tried mounting with umask option, but with no effect again.I'm using ArchLinux on this machine, and I installed samba using default package manager (pacman).

View 1 Replies View Related

Fedora :: Evolution Address Book Permissions Denied

Apr 17, 2009

Just started using Fedora 10 and having a problem with evolution address book.I have checked the permissions on 'system' but they seem ok - owner was set to rwx, I changed the other permissions just to check but still get the error.Not sure what to check now as it claims its a permission error but the permissions seem ok.

View 9 Replies View Related

Fedora Servers :: Add Pages To /var/www/httpd And Permissions Denied

Oct 28, 2009

I installed apache and all is well until I had to add pages to /var/www/httpd and permissions are dinied.

View 1 Replies View Related

Fedora :: Permissions Denied For GVFS - All Folders Locked

Nov 16, 2010

I just converted to Fedora from Ubuntu and I have some questions:
1. How can I install nvidia driver? There is no 'jockey-gtk' in my fedora :3 (video card is nvidia 7200GS)
2. whats the equivalent for 'ubuntu-restricted-extras' in fedora? (ubuntu-restricted-extras is a package for A/V codecs, Java, microsoft fonts and Flash plugin)
3. I just move data from other hard disk to the fedora ones and now all the folders are locked (lock icon).

I try with:
su
chown -R fedora:fedora /home/fedora
but the permissions are denied for gvfs.

View 4 Replies View Related

Ubuntu Installation :: Folder Creation Permissions Denied?

Jan 11, 2011

I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.'

Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.

View 1 Replies View Related

Ubuntu :: Torrents Will Not Start Due To 'Permissions Denied' Error

Jul 27, 2011

My Torrents will not start due to a "Permissions denied" error.The folders with the files being download have it set 777, so I'm thinking it's something else.When I look at the auth log, It does appear that it is that folder causing the issue.I can keep guessing the cause of permissions, but I do not know how to trace the problem.

View 1 Replies View Related

Ubuntu :: Change Default Permissions Of Removable Media Mounted Via Nautilus?

May 2, 2010

behavior in 9.04:plugged in a disk, mounted it and it as readable to the world.this is intended because it is shared via samba.behavior in 10.04:the disks have 700, meaning, they are not readable by samba.this is a problem.this is the best solution I've found so far:http://www.mail-archive.com/ubuntu-u.../msg10951.htmlexcept, that the mentioned means to fix this are gone.(gconf-editor -> ..., storage and preferences -> removable media)after 3 hours of googleing and reading I'm rather upset about this bug.so please, if you are thinking of suggesting fixed entries in the fstab or anything else that will not work with every media that is plugged into this box, just close this tab.

View 3 Replies View Related

Ubuntu :: Permissions - Save A File Into The Partition And Get An Access Denied Error

Oct 10, 2010

I mount a partition to a directory and ls -liah tells me that everyone has read/write/execute permissions on the whole thing, but I try to save a file into the partition and I get an access denied error. First of all this doesn't make sense because ls is telling me I do have access.

Then it gets weirder. I run sudo chown -R me:me directory. The command exits without error, but then when I go and look at the directory again with ls, it still shows up as owned by root and I still have the same problem. This is particularly strange because I am still able to change permissions normally in the operating system filesystem. It just won't work on the mounted partition.

View 1 Replies View Related

Ubuntu Networking :: Cannot Open Mounted Shares On NAS "Permission Denied"

Mar 30, 2010

I have an Acer EasyStore NAS which I can access fine in Nautilus, but a server which I have been trying to mount via command line refuses to even let me view the contents of the folder. The mount command appears to work, a password is requested when connecting to the shared folder.

sudo mount -t cifs --verbose -o user=jason //nas/media /mnt/nas
mount.cifs kernel mount options: unc=//nasmedia,ver=1,rw,user=jason,ip=192.168.0.250,pas s=********

But I cannot even view the folder contents, as even a simple ls returns:

ls: cannot open directory /mnt/nas: Permission Denied

Even on my laptop which is able to access all the shared folders under Nautilus I am unable to mount shares from the command line.

View 1 Replies View Related

Fedora :: NFS Mounts But No Files In Mounted Directory

Feb 10, 2011

I am trying to get NFS mounts working properly using autofs, but I'm only getting partially results. I have an auto.master set up for indirect mounts and a list of map files for each entry. Forgot to mention that when I mount the directory using /etc/fstab or setup a direct mount in /etc/auto.master I can see files in the mounted directory...

View 10 Replies View Related

OpenSUSE Install :: 11.1 - Two Devices Mounted On One Directory

Jan 11, 2010

I have 3 disks in my PC which are partitioned equally as I use them for Raid 1.The first partition on every disk is a simple ext2 partition for booting. No Raid there. So I mount them as /boot and /boot2 and /boot3. So I can backup my /boot to the other boot directories. That worked for some month and this morning I just want to look if all directories have enough free space left. So I did a df -h and got this:

Code:
Dateisystem Grove Benut Verf Ben% EingehÃĪngt auf
/dev/mapper/system-root
6,0G 301M 5,4G 6% /
udev 1,5G 292K 1,5G 1% /dev
/dev/sdb1 122M 29M 87M 25% /boot
/dev/sdc1 38M 21M 16M 59% /boot2
...
/dev/sda1 122M 29M 87M 25% /boot
As you can see /dev/sda1 and /dev/sdb1 are both mounted on /boot

Here is what mount says:
Code:
/dev/sdb1 on /boot type ext2 (ro,acl,user_xattr)
/dev/sdc1 on /boot2 type ext2 (ro,acl,user_xattr)
...
/dev/sda1 on /boot type ext2 (ro,acl,user_xattr)

This is no Problem for me as I could just remount it correctly, but I would like to know if this problem is known. I did not change anything by now and this PC is a server which is running 24/7, so I can deliver more debugging Information if someone is interested.

View 9 Replies View Related

General :: Setting ACL For A Temporarily Mounted Directory?

Sep 8, 2011

I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory.

But I do not want to add the acl mount in /etc/fstab. So I am tempoararily mounting the device to some temporary directory as acl and setting ACL and then unmounting it. Then, I'm mounting it to the original directory.

The code is below:

tmp="/tmp1/backup"
orig="/mnt1/backup"
dev="/dev/sda2"
mkdir -p $tmp

[Code]....

The group is being changed, but ACL is not set for the directory.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved