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


ADVERTISEMENT

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 :: 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

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

General :: Change Default File Permission For Mounted Windows Network Share?

Jul 26, 2010

I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?

Maybe this question also applies for Linux mounting a Windows network share.

View 1 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

Ubuntu :: How To Share A Mounted Iso

Jul 18, 2011

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.

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

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

Ubuntu Servers :: Mounted NFS Share Will Not Unmount?

Jan 8, 2010

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=123.123.123.123)
Now when I try to unmount it:

[Code]...

View 4 Replies View Related

Ubuntu Networking :: How To Share Drives That Should Be Mounted?

Mar 25, 2010

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?

View 3 Replies View Related

Ubuntu Servers :: Mounted File Share In 10.04 LTS

Sep 13, 2010

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.

View 2 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 :: Can't Share Mounted Ntfs Disk On Network?

Aug 29, 2010

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.

[Code]...

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

Server :: Mount A Mounted NFS Share?

Oct 23, 2009

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:

Code:

/etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....

[code]....

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

Ubuntu Networking :: Slow Transfer To Mounted CIFS Share?

May 2, 2010

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.

View 2 Replies View Related

Ubuntu :: SAMBA Share Reports As Mounted But No Files Visible?

May 26, 2010

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:

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Cifs Share Does Not Exist, Localfolder Is Mounted?

May 28, 2010

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.

View 1 Replies View Related

Networking :: Cannot Write To Mounted Windows Share?

Jan 11, 2010

I have mounted a windows share to my Ubuntu 9.10 system by doing the following:

Code:
//wollemi/shared/wSharedsmbfs username=name,password=password00
I also tried:

[code]...

View 9 Replies View Related

Networking :: Can't Access Mounted Windows Share?

Jan 6, 2010

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

[code]...

View 1 Replies View Related

Server :: How It Can Be Mounted To Access Windows Share

Oct 15, 2010

My windows share drive is D: how it can be scene in linux that it is shared, moreover how it can be mounted on linux to access windows share on linux.

View 2 Replies View Related

Ubuntu Networking :: Lost Desktop Icon For Mounted Network Share

Jan 19, 2010

I have suddenly lost the desktop icon (of a hard drive) for a mounted network share. It is funny because, I have other network mounts which share the same server, and there icons are appearing, and this particular share just does not show up with the icon, even if I try mounting it different locations in the filesystem. Any ideas. I really like those cute icons on my desktop.

View 1 Replies View Related

Ubuntu :: File Browser Will Not Maintain State Mounted To Samba Share?

May 12, 2010

I am running Ubuntu 10.4 [64bit] on a AMD dual core with 4gb of RAM. My Problem: I am mounting to a Windows share from my Ubuntu box and everything is working as expected however, when a file is added, deleted, or modified the Ubuntu File browser does not reflect that change until the next refresh. The Windows users with Explorer will reflect the change immediately and automatically.

Is there a way to make the Ubuntu File Browser respond like Explorer when mounting to a Windows share? I call this behavior "maintaining state".

View 1 Replies View Related

Ubuntu Networking :: Samba Can Share Mounted Thumb Drive But Can't Write?

Sep 6, 2010

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

[Code]....

View 1 Replies View Related

OpenSUSE Install :: Samba Share Not Mounted At Boot?

Apr 9, 2011

I upgrade from 11.2 to 11.4 and now, my samba share does not mount at boot time. I see nothing in the log. What is changed in 11.4 ?

View 6 Replies View Related

General :: Both Users Unable To Share Mounted Drive?

Aug 18, 2010

Noticed this in both Ubuntu 10.04 & now Mint 9, both Gnome. I didn't have PCLinuxOS2010 KDE installed long enough to experience it so I don't know if it's a property of Linux or part of Gnome.I have two users, both myself and my wife, and I noticed thatn I mount an internal SATA drive I can only see/access it under the user that mounted it. In order for the other user to see it I need to un-mount the drive. Drive is a 1TB SATA formatted NTFS.I can't imagine this is normal and the 2nd drive is shared for pics/data/etc. Strange quirk is that my install is on a partitioned primary drive, 320gb, that also has Windows on it so the OS must access the drive in order to boot - both users can see the mounted 215gb Windows NTFS partition simultaneously.Is there a setting that needs to be changed or is this normal?

View 8 Replies View Related







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