Debian :: No Write Access To Mounted Volume (over Samba)

Aug 10, 2011

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?

View 2 Replies


ADVERTISEMENT

Debian :: No Write Access To RAID Partition Over Samba?

Aug 9, 2011

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 would really appreciate any kind of help I could get.

Some background info

b) After OS boot, when I do a:
# cat /proc/mdstat,
I get:
Personalities : [raid1]
md0 : active (auto-read-only) raid1 sda1[0] sdb1[1]
4200896 blocks
unused devices: <none>

[Code]...

View 2 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 :: Samba Sharing Of A Mounted Remote Volume?

Apr 21, 2011

I'm running 10.04 server on a Mac G5 with 2 network interfaces, one pointing to my network (192.168.0.x) and the other to a local partner network (192.9.100.x) with which we share a network volume to give/take PDF files.My client environment is MAC OS X (from 10.4 to 10.6) and until now only one client (with 2 nics) was connected to that volume: we don't have layer3 switches to do static routes over the two networks, so I decided to use my Ubuntu Server Mac to do this (it's also my new syslog server...).

Nics are configured correctly, and the local share (192.168.0.x) is well seen by everybody.But, when I mount the remote volume (192.9.100.x) to THAT shared folder, nobody is able to connect to the samba share (that now lists the remote volume directory...). The MAC OS X tells "unable to unmount the volume". IP forwarding is also activated on /etc/sysctl.confHere is a part of my smb.conf file

#======================Share Definitions ====================
[TERA]
comment = Tera Condiviso

[code]....

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

Ubuntu Installation :: 8.04->10.04 Lost Write Access To Shared Volume

May 6, 2010

Computer: Dell Latitude D600
- Ram: 1 GB
- HD: Hitachi ATA HTS541680J9AT00
- OS: Win XP Pro & Ubuntu 10.04 (Kernel

[Code].....

Upgraded from 8.04 to 10.04 and ran Update Manager. After this, sda6, the shared volume where I keep my documents, is read/write accessible from Windows, but read-only accessible from Ubuntu.

I've tried chmod and chown, but in each case, changes to permissions or group are prohibited. So is copying of files to the shared volume, and modifying files (e.g., via OpenOffice).

Additional info: Ubuntu takes a long time to boot after GRUB and during the splash, with the disk drive activity light on continuously.

View 5 Replies View Related

Server :: No Write Access To Subfolders Of Samba Share

Dec 4, 2009

I am using samba t share my files.I am sharing /media/MEDIA folder. it is a ntfs partition mounted with ntfs-3g with write/read access from linux.I can see and browse my shares and also create files in the root of this partition, ie /media/MEDIA, but in its subfolders i do not have write permissions.

another interesting thing is that i have permission to create directory and delete files everywhere and in any folder, subfolder but when trying to create files i get not enough free disk space error.by the way i dont know if this config file is correct, i find as template in internet.

View 8 Replies View Related

Server :: Not Able To Make Samba Share That Has Write Access

Mar 21, 2010

I'm running Ubuntu 9.1 server on an PII Compaq. Read an article "Samba: How to share files for your LAN without user/password" [URL] and some others and can see and pull up files, can't change or delete. Here is my smb.conf:

# Sample configuration file for the Samba suite for Debian GNU/Linux.
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example

# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here .....

View 22 Replies View Related

Ubuntu Networking :: Samba And Windows 7 Access Denied On Write

Sep 10, 2010

I have been having problems with Samba sharing from my Ubuntu-Server to all of my Windows 7 machines. All of the machines are able to access the samba shares however when i try to write to these shares i get a "Access Denied" error. This only happens under windows 7, my Ubuntu laptop easily writes to these shares. PS My permissions are read/write to all

View 1 Replies View Related

Server :: Unable To Enable Write Access To Samba Share

Aug 14, 2010

Hi,

I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:


Code:
drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps
drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music
drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics
drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video
This is how my smb.conf file looks like for this particular share:


Code:
[share1]
comment = share1
browsable = yes
path = /samba
write list = michal
Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:


Code:
michal = "michal"
When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.

Any ideas? Thanks!

View 1 Replies View Related

Debian :: Auto-mounted Truecrypt Partition (keyfile Based) - Can't Add A Keyfile To The Volume Using The GUI

Nov 18, 2010

I have a Truecrypt-encrypted Windows [system] partition, that I want to be opened and mounted automatically (using a keyfile) when I log into Debian, since it is also encrypted and I don't want to type two passphrases. It think this could be done with LUKS. With TC I probably have to go with the CLI, but haven't figured it out yet. And I can't add a keyfile to the volume using the GUI. In order to mount the volume I have to tick the Mount partition using system encryption (preboot authentication) checkbox, or otherwise I get Incorrect password or no TrueCrypt volume found. And same when I try to add a keyfile.

View 2 Replies View Related

Ubuntu Networking :: Samba And Windows Networking - Read / Write Access To All Folders Contents From Both Machines

Mar 9, 2011

Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?

View 7 Replies View Related

OpenSUSE Network :: 'Volume Could Not Be Mounted' - SMB

Mar 25, 2010

I shared a few directories using samba which can be detected with XP or OSX over the network. However, when I try mount those folders this error occurs (OSX): 'Volume X could not be mounted'.I checked that smb as wells as xinetd is running and that the firewall ports are open (also tried deactivating the firewall with no success).

View 8 Replies View Related

Ubuntu :: 10.10 - RAID Volume Not Mounted

May 8, 2011

I have v 10.10 running the following (and I still have no idea how I got this all working). Myth, Squeeze server, X10 control system for the house, Virtualbox (where I run some windows stuff) and a general file and print service. It has 5 disk drives attached

1 - system disk
5- external usb to back up data to
2,3,4 - 2 tb drives in a raid config

I just restarted the server and the raid volume has not mounted. I looked in the webmin interface and the device is there but it doesn't seem to have the partitions attached. Again in webmin, the partitions seem to be on each of the drives. I used crash-plan to back up the data and music, but not the video, so I would prefer not to have to rebuild the lot if I don't have to. I really don't want to re build the lot out of my lack of experience with Linux. Is there an easy (ish) way of putting the raid back together to see if it's just dropped its config and the data is in tact (or can be rebuild from two of the three drives).

View 4 Replies View Related

CentOS 5 :: ISCSI Mounted XFS Volume

Nov 15, 2010

I have an iSCSI device that is large, ~17TB usable, and I've created an XFS file system at the device level. I mount the device no problem and am able to touch and remove files without issue. I start my application and within about 5-10 minutes I start seeing the following entries appear in /var/log/messages

[Code]...

View 2 Replies View Related

Debian Configuration :: Give Application Write Access On Folder And Its Files

Mar 23, 2011

is there a way to give an application (controlaula) write access to a folder /var/lib/monitorprofe and files on that folder.

View 3 Replies View Related

Ubuntu :: Keeping Mounted Volume After Reboot?

Nov 25, 2010

I am trying to create a link to my windows xp workgroup where all my data is stored (I was surprised that linux could even see it!) I mounted a volume on the desktop apparently... that worked fine until I rebooted and it had disappeared. it was fairly annoying that I had to go back into the network and re-mount the volume. How can I get it to stay put, even after rebooting?

View 6 Replies View Related

CentOS 5 :: Reducing A Logical Volume Mounted As /?

Jan 15, 2010

I'm wondering if there is a way to shrink an ext3 LV mount as / .I tried to with resize2fs ... but seems that isn't possible if the partition is mounted.

View 8 Replies View Related

Debian :: Can't View Available Samba Shares / But Can Access Them

Feb 24, 2011

I have had server running for over a year and have run into my first major issue. I am no longer able to browse to the server by hostname or IP and view all available Samba shares. I receive a windows popup informing me I do not have permissions However I am still able to browse to the shares themselves \hostnameshare.I am currently assuming this is an issue with the config of the samba share module/

View 2 Replies View Related

Ubuntu :: Write To An Mounted ISO Image?

Apr 9, 2010

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

View 2 Replies View Related

OpenSUSE Install :: NTFS Volume Sometimes Not Mounted At Boot?

Sep 3, 2011

I have a few NTFS volumes in my machine. The fstab looks like this:

Code:
/dev/disk/by-id/scsi-SATA_SAMSUNG_HD322GJS2BJJ9EB609339-part3 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_SAMSUNG_HD322GJS2BJJ9EB609339-part4 / ext4 acl,user_xattr 1 1

[Code].....

View 4 Replies View Related

Ubuntu Networking :: Cannot Change Permission On Mounted SMB Volume

Apr 27, 2010

I am trying to mount Samba share with following command

Code:

mount.cifs //192.168.0.3/shmelevsky /mnt/tmp/ -o user=shmelevsky,uid=1000,gid=1000

it works fine, I could create/edit files and folders, bu I could not change permission for them:

Code:

root@darkstar:/mnt# chmod 700 tmp/www/
chmod: changing permissions of `tmp/www/': Permission denied
root@darkstar:/mnt#

View 6 Replies View Related

Debian :: SMBClient Not Installed But Can Access Samba Share

Apr 13, 2010

How come I can access samba share, and windows workgroup computer and don't have any samba package installed? Sudo aptitude show smbclient says not installed. Sudo aptitude show samba says not installed.

View 2 Replies View Related

Debian Configuration :: Samba - Cannot Access Server After Upgrade

Mar 12, 2016

Following yesterday's and then today's upgrade of my Debian 8 32-bit system (among other things to samba 2:4.1.17+dfsg-2+deb8u2 (yesterday: ...deb8u1)) I cannot connect my Mint 17.3 laptop to the server anymore. Were there any changes to smb.conf regarding authentication or other aspects that might lead to this problem? I am enclosing part of my smb.conf. By the way - I also have trouble using ssh to connect to the Debian machine, such as the ssh-command taking "for ever" and then getting the message "Write failed: Broken pipe" when entering an ls-command on the command line.

H. Stoellinger
smb.conf:
[global]
workgroup = RAINERMUSIK
netbios name = hsdesk
server string = Samba Server hsdesk

[Code] ....

View 1 Replies View Related

Debian Configuration :: Access And Connecting To SAMBA Are Too Slow

Mar 29, 2016

Let me introduce myself, my name is Carlos Alegría from Chile and I'm System administrator for a educational Institute. We use samba+ldap, for login accounts and file sharing but we not use samba with PDC.

Long time ago at the 2009 year, I was Installing the same system and this worked perfectly. But on our summer the hard disk of server has broken, so i was need installing all the system again. So the problem is with SAMBA, when i connect to the network resource, this is to slow, and when i try transfer files are slow.

My sistem is on Debian 8 Jessie and the Samba Version is 2:4.1.17+dfsg-2+deb

Code: Select all[global]
   workgroup = LABORATORIO
   netbios name = Shinigami
   server string = debian

[Code].....

View 0 Replies View Related

Debian :: Open The General Access On A Folder With Samba?

Jan 3, 2010

I have Debian. How to open the general access on a folder with Samba?

View 1 Replies View Related

Ubuntu :: Can't Write On Webdav Mounted Drive

Jul 16, 2010

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:

Code:
http://someserver.local/docs /home/my_user/km_docs davfs user,rw,auto 0 0

The Webdav is hosted on a local SAP Portal server (if anyone is familiar with this).

I also tried to use Cadaver. It connects and reads perfectly. But when I try to create a file, I get a "409 Conflict" error, even the file has never existed on the server before.

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

Red Hat / Fedora :: Internal Error: No Mount Object For Mounted Volume

Apr 29, 2010

i'm installing a Linux system just simply following guide by fellow friends comunity. Currently, my box are having 2 HDD with 35GB each capacity. Displaying in GNome (36.2 GB Encrypted Data). During installation, I'd selected :

*Remove Linux partitions on selected drives and create default layout
*The "Encrypt system" option

View from terminal :

# /sbin/fdisk -l
Disk /dev/sda: 36.4 GB, 36401315840 bytes
255 heads, 63 sectors/track, 4425 cylinders

[code]....

In Gnome desktop, when I right click and select mount volume, it will display : "Unable to mount location. Internal error: No mount object for mounted volume"

View 9 Replies View Related

Debian Configuration :: Access Remote Samba Share Gigolo Way

Jul 18, 2011

I've got a fresh Wheezy/Xfce install.I'm trying to access a remote samba share the gigolo way. It is an external USB hard drive connected to my router. I can access it read only using the following URL with Icedove: smb://bbox/

Anyway, this is just to try and give might-be-useful information, but ultimately, I don't really want to use fusesmb. I would rather have the gigolo way working, allowing local network shares browsing, auto-connect, etc.

View 2 Replies View Related







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