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


ADVERTISEMENT

General :: Setup Fstab To Automatically Mount NTFS Partitions - GUI To Set The Mount Permissions?

Feb 10, 2010

I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.

1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?

2) If not, is there a tool i.e. GUI to set the mount permissions?

View 14 Replies View Related

Ubuntu :: Mount CDROM With Read / Write Permissions?

Mar 19, 2010

I am running Karmic x64 on a HP laptop that has a cd/dvd burner. I have a r/w cd with files on it and I wish to add/remove files to it. After it mounts automatically on insertion, I unmount it and remount with:
sudo mount /dev/sr0 -t iso9660 -w /media/cdrom
(I tried assorted other hare-brained things also) but it always says that the filesystem is read only. Do I need to use a different device than sr0? Is it even possible under Ubuntu?

View 1 Replies View Related

Ubuntu :: Mount - Give Group Write Permissions In Fstab?

Mar 20, 2010

how do i give group write permissions in fstab? i'm trying to mount a virtualbox shared folder. currently my fstab looks like this Code: Share_Name /mnt/point vboxsf rw,uid=1000,gid=1000 0 0 i want to give both the owner and group, write permissions. currently, only the owner has write permissions, and group read with these mount options.

View 3 Replies View Related

Debian :: Mount Partitions With Read/write Permissions Automatically As The Systeme Starts?

Dec 10, 2010

I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?

View 2 Replies View Related

Debian :: Mount Sshfs At Startup - Get Mount For UserA To Happen On Boot

Mar 18, 2011

I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.

View 4 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

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 View Related

Ubuntu :: Automatically Mount Sshfs Upon Startup?

Jun 17, 2010

I use this command to mount sshfs:sshfs -o idmap=user user@ip:/home/user/public_html ~/FolderThen I enter my password. I do this every time I start my computer

View 3 Replies View Related

Ubuntu Networking :: Mount Sshfs After Network Initialization?

Apr 8, 2011

I've got a non-vital sshfs filesystem in my fstab (by non-vital I mean just files that I access on-demand).However, the fstab file seems to get read and things try to mount before the network has been brought up. I recently switched to Kubuntu 10.10 from Arch, and Arch didn't display this behaviour.I'm wondering if it's possible to make it mount the sshfs filesystem AFTER the network has been brought up?

View 2 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

Ubuntu :: NFS Setup To Mount Drives Located On Desktop

Sep 27, 2010

I am trying to setup nfs to mount the drives located on my desktop, to my laptop, so I can watch them on my laptop rather then my desktop. I have both nfs server running on both the desktop and laptop. Desktop is running Arch Linux and the laptop is running Ubuntu, I keep getting this error claiming that the devices dont exist. I restarted all the services on both machines and tried editing my fstab/exports on both machines also but still nothing seems to be working.

Here is my nfs restart log from my laptop [URL]
And now desktop [URL]
Here is the export/fstab from my desktop [URL]
Now for my laptop export/fstab [URL]

There rather the same, but just wanted to include both for each machine just in case there is a distinct difference in something I did.

View 3 Replies View Related

Ubuntu Security :: Adding User With Access To Mount Point Over SSHFS Only

Sep 2, 2010

I'd like to add a user to my server that will only have access to a mount point over sshfs. Is there any way I can provide them this access without actually giving them permission to open a terminal on my server? I tried /bin/false and /sbin/nologin already, but /bin/false didn't allow the mount point to be made and /sbin/nologin prevented a login completely (also stopped the mount point from working).

View 6 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 :: GnuCash - Connect Via Sshfs To The Program Icon On Desktop?

Jun 18, 2010

I use GnuCash on my desktop but want to be able to access it from my laptop. I can connect via sshfs to the program icon on my desktop but when I click it I am told I cannot do this due to security issues. does anyone know if its possible to get this to work?

View 1 Replies View Related

Ubuntu :: Permissions For Rsync And BackinTime - Setup 2nd HD With Correct Permissions?

May 31, 2011

Problem: permissions for rsync and BackinTime. Setup: Ubuntu 11.04, Two internal HD, #1=main, single boot, #2=backup drive. Question: How do I set up my 2nd HD with correct permissions? Background: I had previously a dual boot XP+10.04 with a 2nd HD formatted as NTFS. With this I was able to use my rsync and backintime to my 2nd HD with no issue. My new set up is EXT4 on both HD.

(I even tried to reformat my 2nd HD as NTFS, but that didnt fix the issue) I followed [URL] to mount the 2nd HD and get permissions. But now when I run backintime i get this error: [E] Error: rsync: opendir "/home/myhome/.ssh" failed: Permission denied (13) I did my requisite reading for a newbie, and am stuck. I ran backintime as root, and it backed up ok. How do I run my user version of backintime? (i.e. How do I fix the permission issue?)

View 9 Replies View Related

Ubuntu :: No Write Permissions One One Drive?

Jun 18, 2010

i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions

View 9 Replies View Related

Ubuntu :: Allow Write Permissions To The /var/www Folder?

May 31, 2011

There are lots of tutorials and opinions on file permissions and web hosting.
So lets say I wanted to allow write permissions to the /var/www folder.

which would be best practice?

Chown -R user... allow a specific user to have write capabailities.

use gksudo nautilus (unsure what this does)

or open the folder to all parties.

If anyone has any opinions on file permissions in general or web hosting security then feel free to throw them at me.

View 4 Replies View Related

Ubuntu :: Hange The Write Permissions On A File?

Nov 12, 2010

I am trying to change the write permissions on a file and On the screenshot you will see where i have underlined, its states i dont have owner rights to modify this file, how do I get owner Permissions when this is my installation..

View 9 Replies View Related

Ubuntu :: User Doesnt Have Write Permissions To Floppy?

Jan 7, 2010

so i have a limited user (my dad) on Jaunty who has no write access to his floppy disks. Nautilus gives a permission denied error, and i discovered that root owns the floppy drive, thus allowing his read-only. (that write tab on the floppy in on btw). However, when i login as a admin, nautilus says that user has write access. ??? I check the user's user privliges and everything exept "administer the system" is checked. I can copy files on it by logging in as root.

View 4 Replies View Related

Ubuntu :: Samba NTFS Write Permissions Only Some Work?

Jan 14, 2010

From a Win 7 client, I can copy/create/delete any files on any share on the Ubuntu Samba server so long that is part of my nix file system which is all ext4.This box also has and NTFS partition on it primarily for storage. I can copy/create/delete anything on this partition form the same Win 7 client with the exception of Quickbook save files.I have scoured the web looking for anything close to this but have yet to find anything that looks similar. Not lloking for a direct answer but if there is anyone else that has issues copying specific types of files to a Samba NTFS partition.

View 3 Replies View Related

Ubuntu Installation :: No Write Permissions On The Install Directory?

Sep 4, 2010

I'm pretty new to Linux but I know my way around. I've gotten Google Earth downloaded and am trying to install it. Everything is fine until I try to install it into /usr/local (or somewhere in there). The Google Earth Setup keeps telling me that I do not have write permissions on this directory. Question: How do I change the write permissions for this folder? Or should I install the program somewhere else? The last program I installed (xMind) installed into /usr/local.I am the only user (administrator

View 2 Replies View Related

Ubuntu Servers :: SAMBA Share Read Write Permissions?

Mar 23, 2010

i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,

i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.

i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.

[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share

[Code]....

how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??

View 4 Replies View Related

Ubuntu :: Edit File Permissions - Read / Write Access

May 6, 2010

I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse.
I've read in several places that
Code:
chmod 755 /var/www
will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?

View 2 Replies View Related

Ubuntu :: Matlab Permissions Error - Cannot Write To Preference File

Jul 9, 2010

I recently Installed Matlab and it keeps giving me this permission error, even after running the following command.

sudo chown -R ${USER}:${USER} ~/.matlab
Cannot write to preference file "matlab.prf" in "/home/"username"/.matlab/R2010a".
Check file permissions.
Cannot write to preference file "matlab.prf" in "/home/"username"/.matlab/R2010a".
Check file permissions.
The desktop configuration was not saved successfully

View 1 Replies View Related

Ubuntu :: Give Read And Write Permissions To Game Folder?

Aug 6, 2010

Just finished downloading a game in .run format, i downloaded it to my Home>Downloads folder and ran these commands in terminal: (game is tremulous if it matters)

chmod +x tremulous.run
./tremulous.run

It started it up in the terminal and i began working my way through the installation process, and i tried to install it into my Home>Games folder. (Is it supposed to be home>games or your username>games?)

and it said PERMISSION DENIED. No write permission to Home/Games/

How do i give myself read and write permissions to my game folder?

View 3 Replies View Related

Ubuntu :: Advanced - IT Groups Can Read / Write Files But Others Have No Permissions

Jan 28, 2011

I have a file server running 10.04. I have a user that belongs to 2 groups (users is the primary and IT is the secondary). I have permissions set up so that this user and other users that belong to the IT groups can read/write files and others have no permissions whatsoever. I have also set the umask to 0007 so that any files created have the effective permissions. My concern is this: since my primary group is users, is it possible for me to create files with the owner group IT for only this specific folder?

View 2 Replies View Related

Ubuntu Networking :: Grant Write Permissions For Samba Shares

Aug 27, 2011

I have a Natty headless server that I would like to set up shared directories and grant specific users write permissions. I use a Windows 2008 R2 machine with Active Directory for authentication and have created a group GroupWithWriteAccess which I want to have write access to the shared directory. I want all other users to have read only access. I have edited my smb.conf file with the following

Code:
[TV]
path = /media/share/Media/TV
writeable = yes
write list = primaryuser @GroupWithWriteAccess
create mode = 0660
directory mode = 0770

The machine is fully setup to work with Windows authentication and I can access shares from the ubuntu machine, it's just sharing local directories with the correct permissions that I can't work out. So far I can access the files from my other machine, but I do not have write access even though I am logged on as a user who is a member of GroupWithWriteAccess.

View 1 Replies View Related

Fedora :: Chmod GUI For Read And Write Permissions?

Nov 25, 2010

Is there also an chmod GUI for read and write permissions?

View 5 Replies View Related

General :: Can't Write File Despite Proper Permissions

Mar 29, 2010

Under debian i did this:

casey@t400:~/programs$ ls -l
-rw-rw-r-- 1 root root 2071 2010-03-28 05:15 urlgetter.cpp

Then

casey@t400:~/programs$ gedit urlgetter.cpp

and upon attempting to save the file, I get the error

"Could not save[...] You do not have the permissions necessary to save the file."

but I am a member of the group root:

casey@t400:~/programs$ cat /etc/group | grep root
root:x:0:casey

View 2 Replies View Related







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