Networking :: Mounting Permissions Error / Mounting A Windows Host?

May 28, 2009

I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:

Code:
$mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp
password: (I have no password so I left it blank)
Mount error (13): Permission Denied
I tried all sorts of passwords we use around the office and none of them worked.

I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?

View 11 Replies


ADVERTISEMENT

Ubuntu :: An Error Occurred While Mounting /proc/bus/usb - Press S To Skip Mounting Or M For Manual Recovery

Apr 30, 2010

Quote:

an error occurred while mounting /proc/bus/usb - press s to skip mounting or M for manual recovery

I'm getting this error while booting.

View 9 Replies View Related

Networking :: Mounting VMWare Guest (WinXP) Outside Host

Jul 28, 2009

I am running VMware workstation on a Linux host and WinXP guest using NAT. I have shared a folder on WinXP, and I am able to mount it on the linux host with:
mount -t smbfs -o username=Administrator,password=mypasswd //192.168.100.129/Shared /mnt/tmp
This works fine. However, I want to mount the same folder from a different linux machine (not the host).

I added port forwarding in /etc/vmware/vmnet8/nat/nat.conf:
[incomingtcp]
#445 = 192.168.100.129:445

If I run:
mount -t smbfs -o username=Administrator,password=mypasswd //external_ip_number/Shared /mnt/tmp

I am getting:
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

It doesn't work even if I try the above command from the linux host itself. It only works if I use the internal IP number. I suspect vmware is not forwarding port 445 but I am not sure how to verify it. I am not running smbd on the linux host, in case that make any difference. I didn't think that was required because the server is really on the WinXP and the linux is just a client.

View 3 Replies View Related

Networking :: Mounting Cifs As User - Permissions With SUID Bit?

Jan 11, 2010

I have looked at a LOT of forum posts and other sites trying to solve this problem but I have had no luck. I've seen the following:[URL].. I have an entry in my fstab that lets root mount a samba share on a Windows Server 2003 machine and gives users full read/write access to the share. The fstab entry looks like:

Code:
//servername.net/share /mnt/share cifs rw,user,umask=000,username=someuser,noauto,file_mode=0777,dir_mode=0777 0 0
However, when a normal user tries to mount the share they get one of two errors:
1. If I have /sbin/mount.cifs set to 777
Code:
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
2. If I have /sbin/mount.cifs set to +s

Code: mount error: permission denied or not superuser and mount.cifs not installed SUID Does anyone have any suggestions as to how I would go about getting a user able to mount this samba share?

View 1 Replies View Related

Networking :: Mounting Unique Filesystem Or Directory By Network Booted Host?

Apr 6, 2010

I have a number of diskless hosts which are to bootth PXE and mount their root filesystem on an NFS share. Most of the NFS share will be common to to all of the diskless hosts. No problem with that part.I also need part of the NFS shared filesystem to be unique to each individual host. The only difference between the hosts is the ethernet MAC. I use it in the DHCP server to key a specific unique IP to each host. I would like to be able to use either the MAC, or the IP, or any other unique identifier that can be derived very early in the boot process to access a filesystem or directory that is unique to each diskless host.

I need/want to do this because I need/want to isolate all of the system maintenance to one small part of the boot host. Modifying the hardware (these are VME CPUs) in any way is not an option; they must be field swappable, with all maintenance isolated to the boot host(s).I know I could run ifconfig and parse its output to derive an IP &/or MAC, but that seems a bit kludgey and fragile. The DHCP server is presently assigning IPs. I know I can arrange to pass a unique option value via the DHCP server, but don't know if or how this can be retrieved on the diskless nodes. I am presently passing the 'root=' kernel argument from the bootloader, but I don't think there is any way to pass other filesystem information using that mechanism.

I know I can pass some kernel arguments from the bootloader, but there doesn't seem to be any generic message that can be retrieved in userspace as part of the boot process. I've scanned around in the /proc filesystem, looking for the IP or anything else that seems to uniquely identify the host, but don't see anything there, either.The init process has not yet been cast in stone, but is very likely to be a BusyBox built-in

View 5 Replies View Related

Fedora :: Mounting Windows Server08 From Fedora 8 With Read/write Permissions?

Oct 7, 2009

I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.

fstab file (some, without the asterisks):
//10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0

I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.

[root@localhost tmp10]# mkdir tmp2
[root@localhost tmp10]# cd tmp2
[root@localhost tmp2]# touch tmp
[root@localhost tmp2]# ls -l

[Code]...

View 3 Replies View Related

Networking :: Error In Mounting IP Address?

Jan 4, 2009

i want to mount ip address in linux i used following command bun an error apeares

Code:
#ifconfig eth0 192.168.0.31
#mount 192.168.0.31:/ /mnt
mount : 192.168.0.31:/ faild reason given by server. permision deneid
i had turn off iptable in network services ,
i using Fedora Core 6

View 2 Replies View Related

Fedora Networking :: Mounting A Windows Share In FC 10

Jun 12, 2009

Usually you put external mounts in the /mnt folder, then link there with a symbolic link if you want access from somewhere else. By keeping all of your mounts in /mnt its easier to manage them as your system and ability grow.

You need to make mounts as root. Mounts take the data in the target and put it on top of an existing folder. When you mount something on top of a folder whatever was there becomes invisible until you remove the mount on top of it. If there is a problem with a mount and it does not work, any writes to the mount will go to the folder underneath, and any data you expect to read from there will not exist.

In making a mount you should realize that the char requires an escape char in bash to show up in the final output to the command. The escape char is also . Therefore to show \ in a Windows command, you need to type \\. Also, spaces must be escaped once with .

Howto:

You should substitute your ip or name for 10.10.9.5

Reminders: Make sure your Windows folder is shared read/write if you need to write to it.

You probably want to change permissions on /mnt/WindowsDocuments to 777

Tips:If you want a link from your desktop to your Windows "My Documents" folder you can now do this:

$cd ~/Desktop ln -s /mnt/WindowsDocuments WindowsDocs

This will make a symbolic link to /mnt/Windows, and if you execute: ls -l ~/Desktop you should see the links information in the response

Finally, if you want to keep a local backup of what's on the windows box in a local folder you could do:

The ~ char is shorthand for /home/<uername> and represents your home folder.

The result of the rsync command is to make a copy of WindowsDocs (which points to your mount at /mnt/WindowsDocuments which is linked to your Windows machine shared 'My Documents' folder) and put it into ~/WindowsDocumentsBackup

As always, make use of the man command if you get confused or the info command for more detail. ie man rsync

View 1 Replies View Related

Networking :: Mounting Shares From Windows Server

Dec 8, 2010

My question is that I have a handful of servers, Server 1 is a Suse Linux machine and Server 2 is a Windows Server 2003 machine. I can mount and access the files/shares on the Linux machine no problem but when I come to using the Server 2003 shares I encounter problems ... here is a snip of my fstab ...

Code:
//10.0.0.20/applications /myfolder/applications cifs username=user1,password=pass1,auto,uid=user2,gid=group2,0 0
user1 and pass1 is the username and password of a user (local to the remote machine) and user2 and group2 are taken from the machine performing the mount.

Am I doing it right, is that how I should be mounting a share from a (Domain enabled) Windows Server 2003?

View 2 Replies View Related

Fedora Networking :: Mounting Windows Share With Cifs?

Feb 10, 2009

Following instructions that I received from the Fedora 10 Guide, I recently edited my etc/fstab file so that I could auto mount my Windows share. It worked the first time, but when I rebooted, I noticed an error saying that Linux could not not unmount the cifs shares. Eventually it did reboot, but now I cannot mount the share at all from fstab. When I run the command #mount -a and then #mount, my share is shown to be mounted although I cannot access it and there is no link to it on the desktop like there was the first time it mounted. I basically want my Windows share to be permanently mounted with read/write permissions. My Distro is Fedora Core 10 64 bit. How can I resolve this issue?

View 3 Replies View Related

Ubuntu Networking :: Odd Mounting Windows Share With Fstab?

Jun 8, 2010

I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.

Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.

View 3 Replies View Related

Ubuntu Networking :: Mounting Windows Network Folders?

Jul 10, 2010

I am trying to configure MPD (music player daemon) to work on my headless ubuntu server. Everything works well, but MPD cannot see the music files stored on my windows XP main computer. These files are stored at smb://LASTNAME/share/music Is there a way to directly mount this drive, so it is accessible at something like /mnt/music, in order that they work with MPD?

View 8 Replies View Related

Ubuntu Networking :: Mounting Windows Share No Password?

Oct 6, 2010

We have a computer here with stuff on it we all use. If I load up my Windows XP VM and open it through My Network Places it loads up just fine. In Ubuntu Nautilus complains that it cant mount the share. If I do:

sudo mount -t cifs //tech1/e /mnt/tech1

it asks for a password. There is no password.

View 5 Replies View Related

Ubuntu Networking :: Mounting Windows Share On Network?

Jan 1, 2011

I have a network PC running Win7 that u use for storage of all my media; movies, music and pictures.I can connect and use the share just fine using the "connect to server" option under places menu.I think i need to modify the fstab file but I am not familiar enough with it to do this.Have searched other threads for help but I am doing something wrong.HP Laptop running Ubuntu 10.10 connecting to a win7 share through a router.

View 9 Replies View Related

Networking :: Mounting Windows Share Without Encrypted Passwords?

Aug 4, 2010

We have a Windows server at work that has several shared directories. For whatever reason the lab administrator has required clear-text passwords for it. There is a registry tweak for Windows boxes. Nautilus can't mount shares because it is trying to use an ecrypted password. Ironically enough the Windows VM I have running in Virtual Box can mount the shares.... smbclient can see the server and shares if I specify a clear-text password option.

View 1 Replies View Related

Ubuntu :: Long Disk-activity-pause On Boot - Between Mounting Root And Mounting Swap?

Jul 14, 2011

Just the last day or so, I've noticed a long pause when I boot my laptop, with lots of disk activity. dmesg says:

[Code]...

Why would there be a 15-second pause (during which the disk is slammed) between mounting root and mounting swap? During this time I see nothing but a blank purple screen, there are no cycling dots or text scroll. Is this normal and I'm just freaking out over nothing because there's no indicator of progress? GRUB default boot options: quiet splash nomodeset video=uvesafb:mode_option=1920x1200-24,mtrr=3,scroll=ywrap vt.handoff=7

View 9 Replies View Related

Fedora :: The Never-ending Of Mounting Permissions?

Feb 12, 2010

I hope I won't get bashed too much on my first post here. The problem I'm experiencing seems to be well known, yet I haven't come across a definite solution to it while searching the forums. I've got an external drive connected to my laptop via eSATA. When I want to mount it as a normal user from GUI level, I'm required to supply the root password since apparently the system's policy doesn't allow external drives partitions to be mounted.

The closest solution to what I would like to achieve is given by giulix in this post. Yet, with the polkit-gnome-authorization utility removed from Fedora 12 (at least so I've heard on mailing lists), it's difficult to find out where to start in terms of policy editing. What I would like to have is being able to mount this volume as a normal user from GUI level. I know I could just add an entry to /etc/fstab, but it just seems so old-fashioned and tacky, and besides, it's not, um, "dynamic" and wouldn't utilize hal and dbus, so I wouldn't have an icon on the desktop. (it's not really the reason, I'd just like to have things done the way they should be right now).

View 3 Replies View Related

Ubuntu Networking :: Mounting A Volume As An ISCSI Share On A Windows Box?

Jun 21, 2010

Does anyone have any good articles on mounting a Ubuntu volume as an iSCSI share on a windows box? Originally I was just going to use a SAMBA share but it turns out samba has issues with my lan security. So I thought since all I really want to do is create the share on my backup server that an iSCSI device would do. Been using the following article with limited success... [URL]

View 2 Replies View Related

CentOS 5 Server :: Mounting A NFS Share On A VM Host?

Sep 2, 2010

I'm having some trouble mounting an NFS share on a VM host (both CentOS 5.5):

-------------------------
SAN/NAS BOX (NFS Server):
-------------------------
/ filesystem on VolGroup00/LogVol00 = 7.6GB A 20GB filesystem on vg_vm/lv_vm1 is mounted at /srv/vm1 A 100GB filesystem on vg_vm/lv_data1 is mounted at /srv/data1

Output of 'df -h' (extraneous stuff removed):

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7.6G 1.8G 5.5G 25% /
/dev/mapper/vg_vm-lv_vm1
20G 173M 19G 1% /srv/vm1
/dev/mapper/vg_vm-lv_data1
99G 188M 94G 1% /srv/data1

View 3 Replies View Related

Fedora :: Mounting 2nd Drive With Permissions For Any User?

Feb 25, 2010

I looked through the guides and didn't find what I was looking for. Here is what I have so far:

[Code]...

That's the drive I am wanting to mount with full permissions for anyone. Right now the folder only has root permissions. Is there a specific group ID I assign this in fstab so it's automatically mounted with full permissions for anyone who logs in?

View 14 Replies View Related

Ubuntu :: Permissions - Mounting IPhone Using IFuse?

Sep 25, 2010

Has anyone ever seen this before:

Code:
I'm continuing on a quest to sync my iOS4 iPhone in xubuntu lucid, and the above is what I get after mounting it with iFuse. Unsurprisingly, I can't actually use it after being mounted with permissions like that. With the iPhone unmounted, an ls -al looks like this

Code:
drwxrwxrwx 2 root root 4096 2010-09-25 15:51 iPhone
Has anyone even seen '?' permissions before?

View 1 Replies View Related

General :: Automatically Set Write Permissions On Mounting A Usb Drive?

Aug 15, 2010

When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.

Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?

View 2 Replies View Related

Ubuntu Servers :: Samba And Mounting Permissions Confusion?

May 18, 2011

I'm having a hard time figuring out how to set permissions on my samba server and on mounting the share. I would appreciate help figuring things out. What I need to achieve is have a server share mounted on a computer and give read write access to the users of that client computer. Also permissions should be respected is a user limits access to a directory or file he creates.

What I did was replicate the users on both server and client computers and create an extra user on the server that has full access to the share both in linux and in samba, and I'm mounting the share on the client computer using that extra user from fstab. (Is this the best way to set things up or is there a better way?)

Now the issues I'm having; Whenever a user A creates a directory or file it's listed as created by user B. It turns out that the UID does not match on both computers. How do I fix that short or deleting and recreating the users in the proper order.

- Backup scripts running as root get lot permission denied errors writing to the share especially when using chown and chgroup. Could someone explain, or point me to an explanation of the logic behind permissions and mounting?

[Code]...

View 1 Replies View Related

General :: Mounting Ext2 Partition With Write Permissions?

Oct 25, 2009

I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.

/etc/fstab:

Code:

# Filesystem: Mountpoint: Type: Options: Dump: FSCK:
/dev/sda1 / ext4 defaults 1 1
/dev/sda5 swap swap defaults 0 0

[code]....

can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option" I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options?(e.x. if I try to mount /dev/sda6 with: mount-o auto,user,exec,rw,async. Will it mount with async or sync?)

View 1 Replies View Related

Ubuntu Networking :: Root Level Parent Directory - Mounting Windows Share?

Mar 26, 2010

I've mucked through and figured out how to mount a windows share. I can access the folders I was looking for, but the windows share was not what I thought it would be. I was looking for the specific shared folder. Instead I got a root level parent directory that included the folder I wanted, and a couple others.

smbclient -L <ipaddress> gives me a parent directory on the root

First question: Can I mount a specific folder within a share?
Second question: Could somebody define share? I thought it was the specific shared folder, but that doesn't seem to be the case.

View 1 Replies View Related

Ubuntu Networking :: Mounting Windows - Failed To Retrieve Share List From Server

Apr 11, 2010

A few days ago I got this Ubuntu box (9.10) to connect to the Windows network in our house. Sharing printers and files. Life was good. But today, Places > Network > Workgroup tries to connect for about a minute then I get a "Unable to mount locations, Failed to retrieve share list from server" error. The only thing I recall changing at around the same time was adding Wine.

View 6 Replies View Related

General :: Mounting A FAT32 Memory Stick With Wide Permissions?

May 8, 2010

I'd like to plug a USB FAT32 formatted memory stick into my Linux laptop and have it mount automatically as it does now but with wide open permissions. At the moment it opens with files only being readable and writable by the user but I would like other uses to be able to read and to write to files (i.e. I use Apache to serve a site from the stick for development purposes).If it matters I am running Jolicloud on a netbook.

View 1 Replies View Related

Ubuntu :: Auto Mounting Ntfs Drive With Execute Permissions?

May 10, 2011

Current when my NTFS external drive is auto mounted, I can't run any executables from it.

If I unmount it and then manually do:

sudo mkdir /media/portable
sudo ntfs-3g /dev/sdc1 /media/portable

it works fine. Is there a way to make the auto-mount have "full" access so I can run applications from it?

View 2 Replies View Related

Hardware :: Phone And Memory Card Auto Mounting With Write Permissions

Feb 4, 2010

Few weeks ago modified my old mobile phone SE k750i by setting on it w800i firmware. After this my phone isn't really (fully automatically) recognized by Ubuntu (9.10) which is the small problem for me now. Linux recognizes it as a USB device, but doesn't automatically mount it, which is why I have to do that manually and that leads to read only permissions for my user.

Here are the few outputs:

lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0fce:d028 Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb .....

I've tried to create a custom udev rule via this thread, by putting the correct information according to lsusb:

Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d028", MODE="0660", OWNER="zivs"
and reloading the udev rules, but that didn't help also.

How could I make my Ubuntu mount the /dev/sdb1 (which is my phone's memory card, since manually mounting it, there's all my phone recorded stuff) automatically on Desktop with all read and write permissions when I connect my phone to computer? Phone gets recognized immediately on Win7 OS ... but after the firmware change it's not really recognized by Ubuntu anymore.

View 1 Replies View Related

General :: Automatically Mounting With Wide Open Permissions A FAT Formatted USB Flash Drive?

Feb 18, 2011

I have a netbook running Ubuntu Netbook Edition and I would like a USB flash drive to be automatically mounted whenever I plug it in. The drive is FAT formatted. It mounts when I plug it in but all files are only writable by my user, other users only have read access. I understand that I need to add a corresponding entry to the /etc/fstab file. I've added the following so far:/dev/sdb1 /mnt/USB_DRIVE vfat

Firstly, is that appropriate so far? I've created /mnt/USB_DRIVE as root. Next, I'm not sure what options I should be finishing the line with, especially to get all users to be able to write to the drive.

View 2 Replies View Related







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