General :: Windows SMBFS Mount Permissions

May 7, 2010

Command used as root to mount a Windows 2003 server share to Linux Red Hat 4 x86-64 on Dell: mount -t smbfs -o username=user,workgroup=domain.edu,password=password //server.domain.edu/h$ /mnt/test The mount is successful, but only root can write to the mount. How do I set the permissions on the mount to allow certain users read/write access to the share? I am logged on the Linux server as the same user who authenticated the mount. The user can read write on the Windows server share, but not while loggged into the Linux server.

View 7 Replies


ADVERTISEMENT

Ubuntu :: Mount Dir Using Smbfs To Windows Share Can't Write To File Permission Denied?

Jun 19, 2010

Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.

View 4 Replies View Related

Networking :: Mount -t Smbfs Error Can't Resolve Hostname

Sep 24, 2009

I am trying to mount a NAS device using the hostname on my linux computer (running slax)

The command I am using is
mount //hostname/sharename /mnt/test -t smbfs -o username=***,password=***

i am getting back the error
mount error: could not find target server. TCP name hostname/sharename not found
No ip address specificed and hostname not found

I can do this mount from an older version of SLAX but i can't from this new version. smb:/ can find then through the file explorer window but I can't mount them from the command line.Is there something i am doing wrong?

View 1 Replies View Related

Ubuntu Servers :: Unreachable /etc/fstab Cifs/smbfs Mount Halts Boot?

Jan 16, 2011

I have the following two lines at the bottom of my /etc/fstab

Quote:
//172.16.6.15/e /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
//172.16.6.15/e/Public /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is 172.16.6.1.

If the destination (which is my workstation desktop) 172.16.6.15 is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console

So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution

View 3 Replies View Related

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

OpenSUSE Network :: User Permissions And Auto-mount On Windows Drive

Feb 11, 2010

I'm running OpenSuse 11.2. I've got it running mostly the way I want and it connects to my wireless internet no problem. I have a external hard-drive on my Windows machine setup as a share folder. I can mount the drive with:

Code:

mount //10.13.23.2/D /home/james/mnt/win However when I do mount like this it doesn't give my any read/write privliages on the drive. Also on a slightly different issue but still mounting related I have my HDD partitioned into four main drives (not including swap etc). They are my Windows drive, a seperate storage partition formatted for Windows, my main linux drive and a seperate parition for linux storage.

I want to have my Windows drive, my Windows storage drive and my linux storage drive all mounted on boot. I tried adding these to fstab, and they mount fine but again I have no read/write permissions. My fstab looks like this:

Code:

/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part6 / ext4

[code]....

Lastly I would like my Windows Share drive to mount on boot but I have been advised that I would need to write a shell script for this, to do network checks as obviously I won't always be connecting to my network.

View 6 Replies View Related

General :: Permissions - Mount Device With Specific User Rights?

Aug 8, 2011

How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:

dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000

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

Ubuntu Networking :: Sharing Windows 7 Drives - Unable To Mount Location - Failed To Mount Windows Share Error Message

Sep 5, 2010

I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.

View 2 Replies View Related

General :: Permissions On A Windows Share

Mar 31, 2011

It seems that by default a Windows share mounted at /mnt/Windows/ will be owned by root and have 755 permissions set on all files. I usually do a chown or chmod to allow my user to have write access to these files. Does that affect the Windows files in any way? It takes quite some time to complete the chown/chmod when there's a lot of data. Where is the Linux permission data kept for the Windows share? On the Linux computer where I set the permissions? I just want to get a better understanding how this works.

View 5 Replies View Related

General :: Knoppix Live CD And Permissions On Windows?

Apr 19, 2010

I have successfully used a Knoppix Live Boot CD to read the disks of a Windows Computer running XPI need to move some registry files around to make it boot into XP again, but I get a denied access error when pasting files into a directory

View 8 Replies View Related

General :: Networking 2 Boxes - Error: "unable To Mount Location Failed To Mount Windows Share"

Mar 27, 2011

im trying to get a network setup i followed the instruction via gentoo wiki samba what i have done

[Code]...

then i did chmod 777 to the shared folders on both machines went into nautilus it sees the folder but it will not mount the folder showing the error msg:"unable to mount location failed to mount windows share" ive been searching unbuntu forums opensuseforums and google for an answer to this issue but as of right now anything that i have tried to do has failed and nothing seems to be working.

View 12 Replies View Related

General :: Windows - View The Unix Permissions Of A File In A .zip Archive?

May 19, 2010

is there a way to view the Unix permissions for a file under Windows?

View 1 Replies View Related

General :: Windows - Change Permissions On /var/www To Copy Files From Other Systems

Jul 16, 2011

I have a NTFS drive mounted at /media/bigbrother as my user. I have no trouble reading or writing to files here. I just created a link to /var/www using: ln -s /var/www /media/bigbrother/

The link is there however, I can't even open the folder. How should I go about getting access. So that I'm able to copy files from other systems on the network.

View 1 Replies View Related

General :: Change File Permissions In Windows Ntfs Partition?

Mar 2, 2011

Here is my fstab's content:

/dev/sda7/media/entfsdefaults00
/dev/sda8/media/fntfs-3g silent,umask=00000
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2

[code]....

View 3 Replies View Related

General :: Mount USB - "do Not Have Permissions Necessary To View The Contents Of Usbflash"

Jan 19, 2011

I made USB live and successfully mounted usb. Commands I used are shown below:

sudo fdisk -l
in response to the first command: sdb1 250GB(this is the target)
sudo mkdir /mnt/usbflash
sudo mount -t auto /dev/sdb1 /mnt/usbflash

All done without any problems. However, when I tried to open file /mnt/usbflash, a dialogue jumps out says "do not have permissions neccessary to view the contents of usbflash". I googled it and found out someone solved this with Alt+F2 and type in 'gksu nautilus'. I tried, and it worked!!! However! Not single file of my 200GB files were shown there! How could it be?? I used comman "ls /mnt/usbflash" to check, and it shows correctly the files inside.

View 2 Replies View Related

General :: Preventing Windows Version Of Vim From Destroying Other File Systems Permissions

Aug 30, 2010

I am currently using the windows version of gVim to edit source files on a networked drive mapped to a linux system, as well as local files created in cygwin.

The problem is that the windows version of gVim destroys the original file permissions on the respective systems. IE: Files on cygwin are defaulted to 077. When edited by the windows version of vim they are saved as 777.This problem doesn't even occur when using ms-notepad (as well as all other editors I've tried), so I am not quite sure why gVim does it.

A possible solution would be to use cygwin's gVim for everything, but that's rather cumbersome as it requires running an x11 environment to support it, and it causes some problems when running some commands from within gVim (or vim for that matter) when working on the networked drive.

Any ideas how I might be able to maintain the existing file permissions?

This morning while on a different machine the problem with cygwin did not occur. Cygwin & gVim were the same version, however the other machine is running WinXP while the machine the problem is occurring on runs Win7.

View 1 Replies View Related

Ubuntu :: Can't Get Smbfs To Automount At Boot

Oct 1, 2010

I'm trying to get some of my NAS storage to mount on my xubuntu 10.04 box at boot time. I have it in fstab, and when I run

$sudo mount -a

it mounts just fine. However, I have to run that manually, I can't get it to just mount at boot time. Here's the entry from my fstab: [URL] So like I said, manually running mount -a works fine, I just can't get it to do it automatically at boot time. I feel like the auto option should take care of that, and that's what I've read around here, but it's just not working.

View 2 Replies View Related

Ubuntu :: Everything Freeze When Cifs Or Smbfs Drive Becomes Unreachable

Aug 9, 2011

I have Ubuntu machine with cifs share mounted at boot via /etc/fstab

fstab entry looks like this:
/kain/buksica /media/buksica smbfs owner,_netdev,gid=xxxx,uid=xxxxx 0 0

When my coleague shuts down his windblows machine my Ubuntu box freezes.. I cannot even open my home folder.

Is there any way kernel can detect that this share is down and silently umount it or in some other way keep stable.

View 6 Replies View Related

Ubuntu :: Can't Read/write Mounted Smbfs Share?

Jan 31, 2011

I am trying to smbmount a Samba share to be used on my Ubuntu 10.04 desktop.I created a mount point

Code:
sudo mkdir /mnt/smb-sambaserv-myshare
and added the following to my fstab:

[code]...

View 11 Replies View Related

Ubuntu Networking :: Sharing Folders From It To Windows - Error: "Unable To Mount Location" "Failed To Mount Windows Share"

Jun 28, 2011

I have a computer running Ubuntu 10.10. I am using it to share many hard drives connected to it. I am using Samba. I have successfully shared many folders to one Windows user. I am attempting to share other folders within the shared folders to another user as read only but have not had any success. When I attempt to connect to one of the shares from another computer running Ubuntu 10.10, logged into an Administrator account with the same username and password which I setup on the Samba share I get the error: "Unable to mount location" "Failed to mount Windows share"

View 3 Replies View Related

Debian :: Mount Permissions On External HD?

Nov 13, 2010

I have a debian machine with an external harddrive. I have a windows machine on the same network from which I can read the files from the debian drive, but I cant write to it.
At some point in time (several months ago?) I could.

currently, I have this line in my /etc/fstab: /dev/sdb1 /media/MUSIC/ vfat user,uid=1000,gid=1000,rw,umask=000 0 0

and i've tried a hundred different mount commands (but not as many as i've tried fstab lines) but generally have been using this at start up: sudo mount /dev/sdb1 /media/MUSIC/ (i am under the impression that i should not have to use 'sudo' when doing this, since the fstab line includes 'user' but if i dont, the command fails)

no matter what I've tried, the permissions come out as owned by root: drwxr-xr-x 905 root root 163840 2010-10-17 17:45 Music attempting (as root) to change ownership of the directory also does not work: chown: changing ownership of `/media/MUSIC/': Operation not permitted (because its a FAT file system, i think)

View 3 Replies View Related

SUSE :: Mount - Fstab - Permissions ?

Sep 25, 2009

On my Suse 11.1 computer, I'm only able to run 'mount' as root, but this screws up the permissions somehow, in that my external drives are now read only when I am normal user. I can plug my external drives to my mac osx laptop via usb or firewire, and I can read,write, and execute. As su, I can mount the drives using usb on my suse computer, but only as read only.

Optimally, I want to edit the fstab file to auto mount these external drives, and then have samba run to make the drives available (i.e. rw) on laptop.

NOTE:
1. I created the file systems on a laptop (mac osx) which has different user name than my suse 11.1 computer.

2. I tried to use chown to manually force user:group to be Mike:users instead of root:root, but the external drives still are 'read only.' Trying different options in column 4 fstab file kept giving same trouble, but I can now get user:group = 99: 99 (not sure what that means).

View 9 Replies View Related

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

Fedora Servers :: NFS Shares Mount But Permissions Are All Nobody Nobody?

Apr 2, 2011

This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.

I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).

fc14 on both

View 14 Replies View Related

General :: Can't Mount Windows Shares By Name, Only IP?

Apr 4, 2011

I'm mounting a Windows share using the following in Ubuntu: mount -t cifs username=MYUSER,password=1234 //192.168.1.5/myshare /mnt/windows_share


This works fine, but I would like to mount the share using the computer's hostname, not the IP. I can ping the hostname fine, but I mounting using the hostname instead of the IP does not work. The share cannot be found.

In Windows, I can access the share as \COMPUTER\myshare, and using Nautilus in Ubuntu, I can connect to //COMPUTER/myshare, but I can't use the name in the mount command.

View 1 Replies View Related

General :: Mount Windows Drive In Red Hat?

Jan 29, 2011

i m install linux 5 with windows xp sp2.i want to access windows drive but i not accessed . access drives in linux 5 .

View 2 Replies View Related

General :: How To Mount Windows Map Drives

Jan 17, 2010

I am looking for mounting windows map drives into linux system. How I will do this?

View 1 Replies View Related

Debian Hardware :: How To Mount Set Permissions On New USB Hard Drive?

Jul 17, 2010

You know the great thing about having a debian system is that you have to reinstall so rarely you miss all the new changes that happen in the system until you have to do something like install a new piece of software and realize that fstab has been turned into spaghetti and you no longer have the slightest idea what is going on.I just got a new 1TB USB2 drive to use for backups. I plugged in it and it was recognized fine but it was formatted in NTFS which I didn't particularly want so I reformatted it as ext4FS. It automounts fine but only with all permissions set to root. I tried doing a direct chmod on the drive but that wasn't recognized. Where in the hodgepodge of HAL settings and whatnot do I set it to make the drive user accessible and mount to somewhere other than /media/disk?

View 1 Replies View Related

Ubuntu :: Permissions Of Mount Points For Automounted Devices

Jan 14, 2010

Ubuntu 9.10. I have a problem - when I mount other partitions of my hdd or the system automounts usb disks these are mounted in /media directory with permissions 0700. So there are two problems there:
- When I switch user on my desktop to another that user can't read data from the usb disks
- I can't share data through network because smbd doesnot have read permissions on the created mount points

I think editing /etc/fstab is wrong way, there would be more right way to change permissions on mount point. I tried to change/add parameters umask, allow_other in gconf-editor (/system/storage/default_options, subsections vfat and ntfs-3g) but that does not show any results. Article [URL] recommends Open Places → Computer. Every volume except the generic File system one should have a Drive and Volume tab in its properties dialog where you can set mount options. But I did not find those tabs. Where should I set option to mount usb disks with permissions rwx for every user of my system?

View 9 Replies View Related







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