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.
so after searching and reading, and searching some more, im stuck. i cant seem to get a mounted thumb drive to give write access. first thing to know is that, im using a seagate dockstar with a primary thumb drive[sda1] booting debian and samba.
i guess you could say im still in the testing phase, just trying to make sure files can be shared, mounted and accessed by users. the problem is stated as the title. i have successfully shared a folder in sda1 with rw access, but i cant do the same for the second drive[sdb1].
for sda1 with rw access, here are the smb.conf settings:
Code: [shared] path = share available = yes valid users = mark
I can't see any option for recursive directories in nfs in fedora 13.
This is my set-up:
save and exit.
When i mount the directory /media/Data from another Fedora 13 box i don't have read and write permissions for each and every file. The -R recursive option would be handy unfortunately this option is unavailable. The red hat docs have not been helpful in this respect.
The mounted partition is of the ext3 type. With the nfs-3g type i don't have any issue however most of my directories/partitions are of the ext3 type so i need get it sorted.
I changed my user name id number to the same number on all boxes thus giving me write access. There must be a better solution than this.
I have a networked raid drive. Thecus 2100. Its running linux, and includes samba sharing. On that I have a folder shared. I can connect to and read and write from nautilus. No problems. However, I can't use other apps through that method. Its not really "mounting" that drive in the sense you'd normally think of (afaik).
If I try to mount the folder, no matter how I have tried so far (-t cifs, smbmount, etc), I can navigate the folders, but if I try to read any file I get a permission error. Looking at the permissions with 'ls -l', everything looks OK. The weird thing is, I can write a file, then read that file back as long as its the same session.
Just now I tried 'smbclient' with no special arguments. Just the server and path url. It asked for my password. Once I was in, I had no trouble getting files. I had a thread about this a while back and there were several links and all sorts of command line options to try, which I did, with no different outcome. I think its got to be something much simpler and more obvious. smbclient and nautilus seem to have no trouble. Anybody know what they're doing differently?
I've been reading for a while about samba but I haven't found a solution to my problem yet.I'd like to know if, the configuration I have in mind, is possible at all ("security = user" is what I'm using now).I want a directory to be: 1) read only for guests and some UNIX users; 2) write for some other UNIX users.
The advantage of this configuration would be that every single user in my LAN (with or without a UNIX account) would be able to read the content of the shared directory Music and I (UNIX user andrea) could manage the folder directly trough samba preserving the correct owner/group and permissions on the new files/folder created.
Notes about my configuration above: 1) as it is now every user gets authenticated by samba as nobody so even I (andrea) cannot write in it; 2) commenting out the line "guest ok = yes" I can authenticate as "andrea" and write in it but guest access is not possible any longer.
I have a Samba server running in my Lan (mainly for file and print service). This server will act as a PDC (don't ask why...). I have a question: Under a share I can use the "read list" and "write list" options with groups (eg @users). Is that group a Linux or Samba group? If it's the later, am I forced to use the net groupmap command, or it is sufficient to have a group name in the /etc/group file? Should I add samba/linux users to that group (with net rpc) or is sufficient to have the group membership set in the linux?
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
Is anyone aware of a way (or a program I can use) to write to an existing ISO image?To set the scene I've used APTonCD to create an ISO with all the programs on I want so that the next time I install Linux Mint (or Ubuntu) I can just put in the CD & install a lot of programs in one go with Package Manager. Thats worked fine & I have the ISO ready for CD but I would like a way to change it a bit so that I can add some of my own custom setup scripts (stuff to set up user accounts & so on) then every thing I need is all on one CD / DVD
Im having trouble sharing a mounted iso in narty. i have mounty installed which is what i use to mount my iso's with and i attempted to share the folder it creates in my home folder over the network to a windows based machine with no luck.
I use davfs2 to mount a Webdav drive at startup. It mounts correctly and I have read access to all files my account gives me access to. One big problem though: I can't create of modify any file. I know it is not a user account problem because everything works well when I mount the drive in Windows 7 using WebDrive.
Here's the entry in /etc/fstab to automatically mount the drive:
We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!
Code: david@scatha $ mount | grep nfs example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=188.8.131.52) Now when I try to unmount it:
most of the partitions on my computer are ntfs type and need to be mounted via ubuntu so how can i share the entire partition or folders from it and for it to mount automatily when remote computer reqest to enter one of those partitions?
I'm having a some pretty weird problems with some mounted file share in Ubuntu Server 10.04 LTS. Currently we are mounting several file share stored on a SLES Files Server onto our Ubuntu Web Servers using the CIFs protocol. Occasionally ( no rhyme or reason ) we will find that when you do a directory listing on the mounted share, while you are on the Ubuntu Server, there are no files being listed. Yet if you browse the SLES File Server or any other of the identical Ubuntu Servers (with the same mounts), the files are there ready to go.
Before using SLES for our file server we tried windows, and experience many of the problem you that you see on the forums of CIFs errors on the console screen. I'm beginning to wonder if 1. we can resolve the CIFs problems in Ubuntu 10, or do we need to down grad to Ubuntu 9 or 3.) change to something other than CIFs.
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:
I have samba installed. I also have a Windows NTFS disk mounted on Ubuntu. To share the file, I migrate to the folder with the file manager, right click on it and select "Sharing Options". I get the message
'net usershare' returned error 255: net usershare add: cannot share path /mnt/Windisk/<path> as we are restricted to only sharing directories we own. Ask the administrator to add the line "usershare owner only = false" to the [global] section of the smb.conf to allow this.
I'm trying to mount a mounted NFS share. I have a server that connects through VPN to a network, that has the NFS share exported. I am able to successfully mount the NFS share on that server, in /media/iSCSI. Now I want to share this NFS share with other servers, that are on the same network as the VPN-ed server, but are not connected to VPN. When I try to export the mounted share, I get:
I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials.
When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.
I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".
How can I overcome this problem?
- Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?
- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?
- Should I do any extra configuration before the mounting etc?
I have a Hitachi SimpleNET adapter (entry-level NAS device) on a Seagate FreeAgent 1TB external HDD (formatted ext3). The NAS device is connected over 100MB/s ethernet to a Netgear Wireless G router. All other devices connect using Wireless G. The NAS runs embedded Linux on an ARM processor and it runs vsftpd and Samba for file transfers.
If I transfer a large file using an FTP client the transfer maxes out at around 2.5MB/s. For my purposes that's good enough, especially considering the Wireless G bottleneck. If I transfer a file from a Windows 7 client (using samba) I get around 2.2MB/s. I know the CIFS protocol has more overhead than FTP and the difference in speed isn't that noticeable.Any combination of Ubuntu and Samba results in me getting less than 1MB/s. I've tried mounting it through Nautilus (GVFS) and /etc/fstab. FTP from this same Ubuntu client gets around 2.5MB/s.
I don't have root access on the SimpleNET to change the smb.conf. I've made a few adjustments to the mount options with no success. how to either speed up 10.04 as a Samba client or mount a folder on an FTP server locally? I've tried both curlftpfs and FUSEFTP. With curlftpfs any write operation results in an I/O error and it crashes intermittently. With FUSEFTP I never got that far and couldn't even browse the folder.
In my fstab I have this entry to connect to my NAS box:
Code: //192.168.0.1/share /mnt/share cifs username=user,password=******,auto 0 0.For a while it was connecting on startup with no problem (it connects via wifi). But now when I navigate to the directory there is nothing there. However if I run mount it reports this:
When using the following cifs mount command, mount -t smbfs -o username=username,password=password //srv/shr /usr/localfolder/and the cifs share does not exist, localfolder is mounted like d????????? ? ? ? ? ? localfolderafter a number of time , when umounting we get a kern <soft lock>Is there any way to fail the mount if the destination share does not exist, ive had a quick look through man mount but can not see a solution.
Every time I mount one partition manually as read write it works fine for a couple of minutes before reverting to read only. It still appears as read-write when I list the mounted directories but won't let me write to it. I have tried unmounting and remounting it, but after a few minutes it always ends up as read-only again.
$ mount /dev/sda3 on /scratch type ext3 (rw) $ mkdir /scratch/file
I have a low maybe medium experience with linux and no experience with unix and migrating from freenas to Ubuntu.I'm trying to transfer 12 TB of data from UFS file system to ext3 file system under Ubuntu 10.04. The server has two 16TB virtual disks (raid10) and one 4TB virtual disk (raid10 too).I mount the UFS virtual disk in Ubuntu with this command:
Code: mount -r -t ufs -o ufstype=ufs2 /dev/sda1 /home/ufsdisk I am able to read only 6TB of data instead of 12TB. The missing folders can be seen in
It's the strangest thing, I've done this on a couple othervers with no issues whatsoever... here goes:I need to mount a windows share to copy some files to it, so I used this command which gets no errors:
Code: sudo mount -t smbfs -o username=XXXXX,password=XXXXX,domain=XXXX.com //192.168.12.30/operrors /home/XXXX/scripts/operrors
I don't know why but every time I plug my iPod it gets mounted automatically as root and therefore I can't write anything in it. I mentioned this issue on the #suse irc channel posting mount output:
eugenio@openSUSE:~> mount /dev/sda7 on / type ext4 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw)
I read some posts about editing the fstab file but I'm not really sure how to do this (if this is the solution) and I believe this could have worked on earlier versions (where HAL was used) Is there anything I can do to make opensuse mount my ipod automatically with full access to normal users?