Page 36 of 137 FirstFirst ... 2634353637384686136 ... LastLast
Results 351 to 360 of 1362

Thread: Mount samba shares with utf8 encoding using cifs

  1. #351
    Join Date
    Jan 2008
    Beans
    2

    Re: Mount samba shares with utf8 encoding using cifs

    Hoping someone can help me work this one out. My setup consists of Ubuntu 7.10 and a Synology DS-207+


    I created the directory /mnt/nas1 with my owner (glaxo) as the owner.


    Added the following to /etc/fstab;
    Code:
    //192.168.0.10/share    /mnt/nas1        cifs    credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

    And then created /root/.smbcredentials with the following content;
    Code:
    username=glaxo
    password=mypassword
    Then ran;
    Code:
    sudo chmod 700 /root/.smbcredentials

    This appears to mount the drive correctly. However, whilst I can create and access files I am unable to delete.

    Looking into this further it appears the files are mounted with root as the owner. Also all files newly created through this mount point have root as their owner.


    Running;
    Code:
    chown glaxo:glaxo /mnt/nas1
    returns - "permission denied"

    I am able to browse to the share through network places (using the same username & password as provided in .smbcredentials). When doing this there are no issues with deleting files and files newly created this way have glaxo as the owner.


    Edited: For clarity of text.
    Last edited by glaxo; January 22nd, 2008 at 10:30 AM.

  2. #352
    Join Date
    Nov 2005
    Location
    Sydney, Australia
    Beans
    216
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    Tried that but no mount. Don't understand "enclose the dmesg output in brackets" Let me know if you cannot read this......

    avid@david-desktop:~$ dmesg
    [ 0.000000] Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Tue Dec 18 05:45:12 UTC 2007 (Ubuntu 2.6.20-16.33-generic)
    [ 0.000000] BIOS-provided physical RAM map:
    [ 0.000000] sanitize start
    [ 0.000000] sanitize end
    [ 0.000000] copy_e820_map() start: 0000000000000000 size: 000000000009f800 end: 000000000009f800 type: 1
    [ 0.000000] copy_e820_map() type is E820_RAM
    [ 0.000000] copy_e820_map() start: 000000000009f800 size: 0000000000000800 end: 00000000000a0000 type: 2
    [ 0.000000] copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
    [ 0.000000] copy_e820_map() start: 0000000000100000 size: 000000003fef0000 end: 000000003fff0000 type: 1
    [ 0.000000] copy_e820_map() type is E820_RAM
    [ 0.000000] copy_e820_map() start: 000000003fff0000 size: 0000000000003000 end: 000000003fff3000 type: 4
    [ 0.000000] copy_e820_map() start: 000000003fff3000 size: 000000000000d000 end: 0000000040000000 type: 3
    [ 0.000000] copy_e820_map() start: 00000000fec00000 size: 0000000001400000 end: 0000000100000000 type: 2
    [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
    [ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
    [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    [ 0.000000] BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
    [ 0.000000] BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
    [ 0.000000] BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
    [ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    [ 0.000000] 127MB HIGHMEM available.
    [ 0.000000] 896MB LOWMEM available.
    [ 0.000000] found SMP MP-table at 000f53b0
    [ 0.000000] Entering add_active_range(0, 0, 262128) 0 entries of 256 used
    [ 0.000000] Zone PFN ranges:
    [ 0.000000] DMA 0 -> 4096
    [ 0.000000] Normal 4096 -> 229376
    [ 0.000000] HighMem 229376 -> 262128
    [ 0.000000] early_node_map[1] active PFN ranges
    [ 0.000000] 0: 0 -> 262128
    [ 0.000000] On node 0 totalpages: 262128
    [ 0.000000] DMA zone: 32 pages used for memmap
    [ 0.000000] DMA zone: 0 pages reserved
    [ 0.000000] DMA zone: 4064 pages, LIFO batch:0
    [ 0.000000] Normal zone: 1760 pages used for memmap
    [ 0.000000] Normal zone: 223520 pages, LIFO batch:31
    [ 0.000000] HighMem zone: 255 pages used for memmap
    [ 0.000000] HighMem zone: 32497 pages, LIFO batch:7
    [ 0.000000] DMI 2.3 present.
    [ 0.000000] ACPI: RSDP (v000 GBT ) @ 0x000f6ca0
    [ 0.000000] ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff3040
    [ 0.000000] ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff30c0
    [ 0.000000] ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff66c0
    [ 0.000000] ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
    [ 0.000000] ACPI: PM-Timer IO Port: 0x1008
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    [ 0.000000] Processor #0 15:3 APIC version 20
    [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
    [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [ 0.000000] IOAPIC[0]: apic_id 2, version 20, address 0xfec00000, GSI 0-23
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
    [ 0.000000] ACPI: IRQ0 used by override.
    [ 0.000000] ACPI: IRQ2 used by override.
    [ 0.000000] ACPI: IRQ9 used by override.
    [ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
    [ 0.000000] Using ACPI (MADT) for SMP configuration information
    [ 0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
    [ 0.000000] Detected 3401.283 MHz processor.
    [ 26.757827] Built 1 zonelists. Total pages: 260081
    [ 26.757833] Kernel command line: root=UUID=9f123026-fafc-4ffc-8279-a5fd7eeba0a5 ro quiet splash
    [ 26.757982] mapped APIC to ffffd000 (fee00000)
    [ 26.757985] mapped IOAPIC to ffffc000 (fec00000)
    [ 26.757988] Enabling fast FPU save and restore... done.
    [ 26.757991] Enabling unmasked SIMD FPU exception support... done.
    [ 26.758006] Initializing CPU#0
    [ 26.758088] PID hash table entries: 4096 (order: 12, 16384 bytes)
    [ 26.759049] Console: colour VGA+ 80x25
    [ 26.759810] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 26.760468] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 26.782347] Memory: 1028308k/1048512k available (1993k kernel code, 19476k reserved, 900k data, 328k init, 131008k highmem)
    [ 26.782357] virtual kernel memory layout:
    [ 26.782358] fixmap : 0xfff4e000 - 0xfffff000 ( 708 kB)
    [ 26.782359] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
    [ 26.782360] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
    [ 26.782361] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
    [ 26.782362] .init : 0xc03d9000 - 0xc042b000 ( 328 kB)
    [ 26.782363] .data : 0xc02f2429 - 0xc03d36d4 ( 900 kB)
    [ 26.782364] .text : 0xc0100000 - 0xc02f2429 (1993 kB)
    [ 26.782367] Checking if this processor honours the WP bit even in supervisor mode... Ok.
    [ 26.862067] Calibrating delay using timer specific routine.. 6806.25 BogoMIPS (lpj=13612504)
    [ 26.862117] Security Framework v1.0.0 initialized
    [ 26.862126] SELinux: Disabled at boot.
    [ 26.862144] Mount-cache hash table entries: 512
    [ 26.862329] CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
    [ 26.862337] monitor/mwait feature present.
    [ 26.862339] using mwait in idle threads.
    [ 26.862347] CPU: Trace cache: 12K uops, L1 D cache: 16K
    [ 26.862349] CPU: L2 cache: 1024K
    [ 26.862352] CPU: Physical Processor ID: 0
    [ 26.862354] CPU: After all inits, caps: bfebfbff 00000000 00000000 00003180 0000441d 00000000 00000000
    [ 26.862367] Compat vDSO mapped to ffffe000.
    [ 26.862373] Remapping vsyscall page to ffffe000
    [ 26.862389] Checking 'hlt' instruction... OK.
    [ 26.878215] SMP alternatives: switching to UP code
    [ 26.878570] Freeing SMP alternatives: 11k freed
    [ 26.878779] Early unpacking initramfs... done
    [ 27.124549] ACPI: Core revision 20060707
    [ 27.129346] ACPI: Looking for DSDT in initramfs... file /DSDT.aml not found, using machine DSDT.
    [ 27.131763] CPU0: Intel(R) Pentium(R) 4 CPU 3.40GHz stepping 04
    [ 27.131800] Total of 1 processors activated (6806.25 BogoMIPS).
    [ 27.131898] ENABLING IO-APIC IRQs
    [ 27.132070] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 27.278005] Brought up 1 CPUs
    [ 27.278225] Booting paravirtualized kernel on bare hardware
    [ 27.278294] Time: 19:48:48 Date: 00/23/108
    [ 27.278324] NET: Registered protocol family 16
    [ 27.278416] EISA bus registered
    [ 27.278421] ACPI: bus type pci registered
    [ 27.300703] PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
    [ 27.300705] PCI: Using configuration type 1
    [ 27.300707] Setting up standard PCI resources
    [ 27.308805] ACPI: Interpreter enabled
    [ 27.308808] ACPI: Using IOAPIC for interrupt routing
    [ 27.309209] ACPI: PCI Root Bridge [PCI0] (0000:00)
    [ 27.309213] PCI: Probing PCI hardware (bus 00)
    [ 27.309250] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
    [ 27.310153] Boot video device is 0000:01:00.0
    [ 27.310256] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [ 27.327447] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 *12 14 15)
    [ 27.327660] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
    [ 27.327870] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
    [ 27.328079] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
    [ 27.328293] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
    [ 27.328506] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 *12 14 15)
    [ 27.328722] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
    [ 27.328936] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
    [ 27.330841] Linux Plug and Play Support v0.97 (c) Adam Belay
    [ 27.330857] pnp: PnP ACPI init
    [ 27.333551] pnp: PnP ACPI: found 12 devices
    [ 27.333556] PnPBIOS: Disabled by ACPI PNP
    [ 27.333604] PCI: Using ACPI for IRQ routing
    [ 27.333607] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
    [ 27.341700] NET: Registered protocol family 8
    [ 27.341702] NET: Registered protocol family 20
    [ 27.342288] PCI: Bridge: 0000:00:01.0
    [ 27.342292] IO window: 9000-9fff
    [ 27.342298] MEM window: e4000000-e5ffffff
    [ 27.342302] PREFETCH window: c0000000-dfffffff
    [ 27.342337] NET: Registered protocol family 2
    [ 27.374021] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 27.374198] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [ 27.375062] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    [ 27.375699] TCP: Hash tables configured (established 131072 bind 65536)
    [ 27.375703] TCP reno registered
    [ 27.386132] checking if image is initramfs... it is
    [ 27.866100] Freeing initrd memory: 6787k freed
    [ 27.866679] audit: initializing netlink socket (disabled)
    [ 27.866698] audit(1201117728.188:1): initialized
    [ 27.866776] highmem bounce pool size: 64 pages
    [ 27.866838] VFS: Disk quotas dquot_6.5.1
    [ 27.866861] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 27.866926] io scheduler noop registered
    [ 27.866929] io scheduler anticipatory registered
    [ 27.866931] io scheduler deadline registered
    [ 27.866939] io scheduler cfq registered (default)
    [ 27.867194] isapnp: Scanning for PnP cards...
    [ 28.218941] isapnp: No Plug & Play device found
    [ 28.242242] Real Time Clock Driver v1.12ac
    [ 28.242298] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
    [ 28.242415] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [ 28.242548] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [ 28.243114] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [ 28.243349] 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [ 28.243539] mice: PS/2 mouse device common for all mice
    [ 28.244119] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
    [ 28.244364] input: Macintosh mouse button emulation as /class/input/input0
    [ 28.244398] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    [ 28.244402] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    [ 28.244634] PNP: PS/2 Controller [PNP0303S2K] at 0x60,0x64 irq 1
    [ 28.244637] PNP: PS/2 controller doesn't have AUX irq; using default 12
    [ 28.247078] serio: i8042 KBD port at 0x60,0x64 irq 1
    [ 28.247190] EISA: Probing bus 0 at eisa.0
    [ 28.247199] Cannot allocate resource for EISA slot 1
    [ 28.247224] EISA: Detected 0 cards.
    [ 28.277411] TCP cubic registered
    [ 28.277419] NET: Registered protocol family 1
    [ 28.277442] Using IPI No-Shortcut mode
    [ 28.277523] ACPI: (supports S0 S1 S4 S5)
    [ 28.277565] Magic number: 8:500:850
    [ 28.277720] Time: tsc clocksource has been installed.
    [ 28.277763] hash matches device ptyv2
    [ 28.278133] Freeing unused kernel memory: 328k freed
    [ 29.487882] Capability LSM initialized
    [ 29.524024] ACPI Exception (acpi_processor-0677): AE_NOT_FOUND, Processor Device is not present [20060707]
    [ 29.956164] SIS5513: IDE controller at PCI slot 0000:00:02.5
    [ 29.956185] ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 16
    [ 29.956198] SIS5513: chipset revision 1
    [ 29.956200] SIS5513: not 100% native mode: will probe irqs later
    [ 29.956212] SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
    [ 29.956229] ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbio
    [ 29.956242] ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
    [ 29.956251] Probing IDE interface ide0...
    [ 29.975733] usbcore: registered new interface driver usbfs
    [ 29.975758] usbcore: registered new interface driver hub
    [ 29.975786] usbcore: registered new device driver usb
    [ 29.976479] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 30.031772] ieee1394: Initialized config rom entry `ip1394'
    [ 30.052862] sis900.c: v1.08.10 Apr. 2 2006
    [ 30.113111] Floppy drive(s): fd0 is 1.44M
    [ 30.152279] FDC 0 is a post-1991 82077
    [ 30.265354] hda: SAMSUNG SP2014N, ATA DISK drive
    [ 30.941161] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    [ 30.953170] Probing IDE interface ide1...
    [ 31.692970] hdc: HL-DT-STDVD-RAM GSA-H55N, ATAPI CD/DVD-ROM drive
    [ 32.480759] hdd: HITACHI GD-2000, ATAPI CD/DVD-ROM drive
    [ 32.550599] ide1 at 0x170-0x177,0x376 on irq 15
    [ 32.565692] ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 17
    [ 32.565708] ohci_hcd 0000:00:03.0: OHCI Host Controller
    [ 32.565973] ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
    [ 32.565989] ohci_hcd 0000:00:03.0: irq 17, io mem 0xe7004000
    [ 32.627018] usb usb1: configuration #1 chosen from 1 choice
    [ 32.627164] hub 1-0:1.0: USB hub found
    [ 32.627177] hub 1-0:1.0: 3 ports detected
    [ 32.733051] ACPI: PCI Interrupt 0000:00:03.1[B] -> GSI 21 (level, low) -> IRQ 18
    [ 32.733072] ohci_hcd 0000:00:03.1: OHCI Host Controller
    [ 32.733171] ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
    [ 32.733188] ohci_hcd 0000:00:03.1: irq 18, io mem 0xe7000000
    [ 32.794882] usb usb2: configuration #1 chosen from 1 choice
    [ 32.795014] hub 2-0:1.0: USB hub found
    [ 32.795025] hub 2-0:1.0: 3 ports detected
    [ 32.900957] ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 19
    [ 32.900975] ohci_hcd 0000:00:03.2: OHCI Host Controller
    [ 32.901083] ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
    [ 32.901098] ohci_hcd 0000:00:03.2: irq 19, io mem 0xe7001000
    [ 32.962886] usb usb3: configuration #1 chosen from 1 choice
    [ 32.963025] hub 3-0:1.0: USB hub found
    [ 32.963036] hub 3-0:1.0: 2 ports detected
    [ 33.040440] usb 1-1: new low speed USB device using ohci_hcd and address 2
    [ 33.069480] ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 20
    [ 33.069498] ehci_hcd 0000:00:03.3: EHCI Host Controller
    [ 33.069611] ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 4
    [ 33.069649] PCI: cache line size of 128 is not supported by device 0000:00:03.3
    [ 33.069660] ehci_hcd 0000:00:03.3: irq 20, io mem 0xe7002000
    [ 33.069669] ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
    [ 33.070075] usb usb4: configuration #1 chosen from 1 choice
    [ 33.070225] hub 4-0:1.0: USB hub found
    [ 33.070235] hub 4-0:1.0: 8 ports detected
    [ 33.182705] SCSI subsystem initialized
    [ 33.187833] libata version 2.20 loaded.
    [ 33.194370] sata_sis 0000:00:05.0: version 0.7
    [ 33.194406] ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 17 (level, low) -> IRQ 21
    [ 33.194419] sata_sis 0000:00:05.0: Detected SiS 180/181/964 chipset in SATA mode
    [ 33.194488] ata1: SATA max UDMA/133 cmd 0x0001a400 ctl 0x0001a802 bmdma 0x0001b400 irq 21
    [ 33.194519] ata2: SATA max UDMA/133 cmd 0x0001ac00 ctl 0x0001b002 bmdma 0x0001b408 irq 21
    [ 33.194534] scsi0 : sata_sis
    [ 33.201305] hda: max request size: 512KiB
    [ 33.212217] hda: Host Protected Area detected.
    [ 33.212220] current capacity is 390719855 sectors (200048 MB)
    [ 33.212221] native capacity is 390721968 sectors (200049 MB)
    [ 33.212343] hda: Host Protected Area disabled.
    [ 33.212347] hda: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(33)
    [ 33.212557] hda: cache flushes supported
    [ 33.212607] hda: hda1 hda2 < hda5 hda6 hda7 > hda3
    [ 33.278540] hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
    [ 33.278550] Uniform CD-ROM driver Revision: 3.20
    [ 33.300116] hdd: ATAPI 20X DVD-ROM drive, 512kB Cache, DMA
    [ 33.644245] kjournald starting. Commit interval 5 seconds
    [ 33.644255] EXT3-fs: mounted filesystem with ordered data mode.
    [ 33.664334] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [ 33.703934] ata1.00: ata_hpa_resize 1: sectors = 312581808, hpa_sectors = 312581808
    [ 33.703942] ata1.00: ATA-7: ST3160812AS, 2AAA, max UDMA/133
    [ 33.703945] ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
    [ 33.770551] ata1.00: ata_hpa_resize 1: sectors = 312581808, hpa_sectors = 312581808
    [ 33.770560] ata1.00: configured for UDMA/133
    [ 33.770585] scsi1 : sata_sis
    [ 34.084174] ata2: SATA link down (SStatus 0 SControl 300)
    [ 34.094291] ATA: abnormal status 0x7F on port 0x0001ac07
    [ 34.094528] scsi 0:0:0:0: Direct-Access ATA ST3160812AS 2AAA PQ: 0 ANSI: 5
    [ 34.094768] ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 22
    [ 34.147607] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[22] MMIO=[e7005000-e70057ff] Max Packet=[2048] IR/IT contexts=[4/8]
    [ 34.154718] ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 22
    [ 34.155712] 0000:00:04.0: ICS LAN PHY transceiver found at address 1.
    [ 34.165749] 0000:00:04.0: Using transceiver found at address 1 as default
    [ 34.166608] eth0: SiS 900 PCI Fast Ethernet at 0xa000, IRQ 22, 00:14:85:45:99:28.
    [ 34.420076] usb 1-1: new low speed USB device using ohci_hcd and address 3
    [ 34.627028] usb 1-1: configuration #1 chosen from 1 choice
    [ 34.935936] usb 2-1: new full speed USB device using ohci_hcd and address 2
    [ 35.152867] usb 2-1: configuration #1 chosen from 1 choice
    [ 35.431955] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00502266000a0124]
    [ 35.463798] usb 3-1: new full speed USB device using ohci_hcd and address 2
    [ 35.702678] usb 3-1: configuration #1 chosen from 1 choice
    [ 43.644160] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 43.647050] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [ 43.902340] gameport: EMU10K1 is pci0000:00:0a.1/gameport0, io 0xc000, speed 1104kHz
    [ 44.028241] Linux agpgart interface v0.102 (c) Dave Jones
    [ 44.115271] agpgart: Detected SiS 661 chipset
    [ 44.119317] agpgart: AGP aperture is 64M @ 0xe0000000
    [ 44.142148] eth0: Media Link On 100mbps full-duplex
    [ 44.157303] input: PC Speaker as /class/input/input1
    [ 44.253226] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
    [ 44.253282] sda: Write Protect is off
    [ 44.253285] sda: Mode Sense: 00 3a 00 00
    [ 44.253302] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 44.253371] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
    [ 44.253380] sda: Write Protect is off
    [ 44.253382] sda: Mode Sense: 00 3a 00 00
    [ 44.253397] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 44.253400] sda:<6>parport: PnPBIOS parport detected.
    [ 44.369594] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
    [ 44.371556] sda1 sda3 < sda5 sda6 >
    [ 44.556800] sd 0:0:0:0: Attached scsi disk sda
    [ 44.676166] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [ 44.715401] usbcore: registered new interface driver hiddev
    [ 44.715482] usbcore: registered new interface driver libusual
    [ 44.725572] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3511
    [ 44.838573] Initializing USB Mass Storage driver...
    [ 44.902489] input: Logitech USB Receiver as /class/input/input2
    [ 44.902583] input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:03.0-1
    [ 44.902659] drivers/usb/class/usblp.c: usblp1: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3104
    [ 44.902670] usbcore: registered new interface driver usblp
    [ 44.902673] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    [ 44.903144] scsi2 : SCSI emulation for USB Mass Storage devices
    [ 44.905970] usbcore: registered new interface driver usb-storage
    [ 44.905975] USB Mass Storage support registered.
    [ 44.905988] usbcore: registered new interface driver usbhid
    [ 44.905991] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    [ 44.905995] usb-storage: device found at 2
    [ 44.905996] usb-storage: waiting for device to settle before scanning
    [ 44.949914] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 23
    [ 45.263289] fuse init (API version 7.8)
    [ 45.287257] lp0: using parport0 (interrupt-driven).
    [ 45.363277] Adding 1060248k swap on /dev/disk/by-uuid/f6b50d1f-8037-4c8c-b858-15a21f42bc46. Priority:-1 extents:1 across:1060248k
    [ 45.364499] Adding 1228932k swap on /dev/disk/by-uuid/3e2dfddd-5548-7a88-2420-b67970126ad9. Priority:-2 extents:1 across:1228932k
    [ 45.612000] EXT3 FS on hda5, internal journal
    [ 47.627072] NET: Registered protocol family 17
    [ 49.909727] usb-storage: device scan complete
    [ 49.916733] scsi 2:0:0:0: Direct-Access HP psc 2310 1.00 PQ: 0 ANSI: 2
    [ 49.927762] sd 2:0:0:0: Attached scsi removable disk sdb
    [ 49.927801] sd 2:0:0:0: Attached scsi generic sg1 type 0
    [ 51.577435] ibm_acpi: ec object not found
    [ 51.643699] input: Power Button (FF) as /class/input/input3
    [ 51.647640] ACPI: Power Button (FF) [PWRF]
    [ 51.674315] input: Power Button (CM) as /class/input/input4
    [ 51.678258] ACPI: Power Button (CM) [PWRB]
    [ 51.707024] Using specific hotkey driver
    [ 51.780276] No dock devices found.
    [ 51.870938] pcc_acpi: loading...
    [ 56.490755] [drm] Initialized drm 1.1.0 20060810
    [ 56.501167] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
    [ 56.504325] [drm] Initialized radeon 1.25.0 20060524 on minor 0
    [ 57.160985] ppdev: user-space parallel port driver
    [ 58.212913] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
    [ 58.213035] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
    [ 58.213167] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
    [ 58.469060] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
    [ 58.469066] apm: overridden by ACPI.
    [ 59.419518] Bluetooth: Core ver 2.11
    [ 59.419586] NET: Registered protocol family 31
    [ 59.419588] Bluetooth: HCI device and connection manager initialized
    [ 59.419591] Bluetooth: HCI socket layer initialized
    [ 59.473414] Bluetooth: L2CAP ver 2.8
    [ 59.473419] Bluetooth: L2CAP socket layer initialized
    [ 59.522954] Bluetooth: RFCOMM socket layer initialized
    [ 59.522968] Bluetooth: RFCOMM TTY layer initialized
    [ 59.522971] Bluetooth: RFCOMM ver 1.8
    [ 68.974951] [drm] Setting GART location based on new memory map
    [ 68.974962] [drm] Loading R300 Microcode
    [ 68.975005] [drm] writeback test succeeded in 1 usecs
    david@david-desktop:~$
    Just think how boring life would be without Ubuntu

  3. #353
    Join Date
    Dec 2006
    Location
    Earth, USA, PA
    Beans
    144
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Mount samba shares with utf8 encoding using cifs

    I have a similar issue as a few of these guys.

    Using the code below, I can mount the folders just fine...
    Code:
    sudo mount -t cifs //192.168.1.250/data02 /media/mountshare -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
    Once mounted, I can browse, create and move directories as needed however, I cannot delete them. If I go to smb://192.168.1.250/data02, I can delete anything I want. If I want to delete something through the mounted share, I have to do something like sudo rmdir /media/mountshare/folder2delete.

    I saw several people had this problem. I've not seen an answer for it yet. Is there one?

    01-26-08
    1526 EST
    Remember, amatures built the Ark; professionals built the Titanic.

  4. #354
    Join Date
    Nov 2005
    Location
    Sydney, Australia
    Beans
    216
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    This one's easy: The problem is that the MOUNT command creates a mount point owned by ROOT. What you have to do is change the ownership of the mount point to yourself as follows:

    sudo chown userid -RH /media/mountshare

    (substitute your userid)
    Just think how boring life would be without Ubuntu

  5. #355
    Join Date
    Nov 2005
    Location
    Sydney, Australia
    Beans
    216
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    Still trying to get a permanent mount via FSTAB......Any suggestions?
    Just think how boring life would be without Ubuntu

  6. #356
    Join Date
    Dec 2006
    Location
    Earth, USA, PA
    Beans
    144
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by bayvista View Post
    This one's easy: The problem is that the MOUNT command creates a mount point owned by ROOT. What you have to do is change the ownership of the mount point to yourself as follows:

    sudo chown userid -RH /media/mountshare

    (substitute your userid)
    Two things....

    1 - when I give that command, I get to watch a bunch of permission denied errors roll by.

    2 - It's a file share that everyone has access to (there's a bunch of music & media on it) and if I take ownership of it, I could potentially keep others out. Luckily, it didn't look like it took as all I got were all those errors...

    Keep in mind that everyone on this network has to have read/write access to it. It's set up so there's no authentication needed and all files, no matter who dumps them there, end up with no real ownership meaning all have free access to do as the wish with the data (equivelant to doing a chmod 777 after the files have been written).

    01-26-08
    2037 EST
    Remember, amatures built the Ark; professionals built the Titanic.

  7. #357
    Join Date
    Aug 2006
    Beans
    Hidden!

    Question Re: Mount samba shares with utf8 encoding using cifs

    Bayvista,

    I could be wrong here, but I believe I read somewhere that the boot order mounts the drives via fstab before it initializes the Ethernet card. Thus allowing a manual mount but causing problems with a fstab mount since it can't see the network yet since it can't use the eth0 port yet.

    I have exactly the same problem, it may be fixed if someone wrote a little program than could be set to auto-run at startup to do the following:

    1. Automatically mount the network drives using the manual sudo command that you stated worked correctly.
    2. Change the ownership of the network drives.

    I'm trying to use this with a Mythbuntu to connect to an UNRAID tower.
    I've been toying with Ubuntu for about 18 months but haven't have to get into writing any Auto scripts. Mythtv is set to automatically start after the Xfce desktop shows up so this could run in the background at the same time. I'd like a more simple and direct solution but if this works I'll take it.

    What are your thoughts on this?

    Rollinns

  8. #358
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    Quote Originally Posted by bayvista View Post
    This one's easy: The problem is that the MOUNT command creates a mount point owned by ROOT. What you have to do is change the ownership of the mount point to yourself as follows:

    sudo chown userid -RH /media/mountshare

    (substitute your userid)
    this is a bad idea. when using the manual mount command, the share is mounted as root because you mount with "sudo". this is not the case with a share mounted in fstab.

    Quote Originally Posted by bayvista View Post
    Still trying to get a permanent mount via FSTAB......Any suggestions?
    i have no idea why this is not working for you. nothing is wrong, and i've suggested most of the tricks i know. it doesn't make any sense.

    is the share you're connecting to a windows vista share by chance?

    =======

    Quote Originally Posted by rkillcrazy View Post
    Two things....

    1 - when I give that command, I get to watch a bunch of permission denied errors roll by.

    2 - It's a file share that everyone has access to (there's a bunch of music & media on it) and if I take ownership of it, I could potentially keep others out. Luckily, it didn't look like it took as all I got were all those errors...

    Keep in mind that everyone on this network has to have read/write access to it. It's set up so there's no authentication needed and all files, no matter who dumps them there, end up with no real ownership meaning all have free access to do as the wish with the data (equivelant to doing a chmod 777 after the files have been written).

    01-26-08
    2037 EST
    try unmounting the share:
    Code:
    sudo umount /media/sharename
    and then change the permissions on the local folder to make sure it is read/writable like so:
    Code:
    sudo chmod 777 /media/sharename
    then remount, or reboot and see if that corrects your issue.

    =======

    Quote Originally Posted by rollinns View Post
    Bayvista,

    I could be wrong here, but I believe I read somewhere that the boot order mounts the drives via fstab before it initializes the Ethernet card. Thus allowing a manual mount but causing problems with a fstab mount since it can't see the network yet since it can't use the eth0 port yet.

    What are your thoughts on this?

    Rollinns
    this is correct. however, the fix is much easier than a script. the fix is outlined in the first post in this howto, and several times throughout. most recently in post 350 on the last page: http://ubuntuforums.org/showpost.php...&postcount=350

    simply add "mount -a" or "mount /media/sharename" in /etc/rc.local

    this works because rc.local is the last to be run during the boot sequence.
    Last edited by dmizer; January 29th, 2008 at 01:06 AM.

  9. #359
    Join Date
    Nov 2005
    Location
    Sydney, Australia
    Beans
    216
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Mount samba shares with utf8 encoding using cifs

    Still does not work. I have added "mount /media/HP-Laptop" to /etc/rc-local as you suggest. I have also added the line to my fstab. However, it still does not mount the share, which is a Windows Vista share.

    I did install NTFS-3G some time ago to enable sharing of my Windows partitions with Ubuntu (on the same computer) and this worked fine. However, NTFS-3G replaces the standard FSTAB with its own version. So, I might try restoring the original FSTAB and start from there.

    I'm beginning to think that this is a Vista thing. I'm sure that when I had XP on my old notebook, it all worked like a dream.

    Another thing I will try is changing the 'credentials' parameter in FSTAB to 'username=xxxx, password=ppppp'.

    If the mount from FSTAB is failing, where is the error message written? It's not in DMESG.
    Just think how boring life would be without Ubuntu

  10. #360
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mount samba shares with utf8 encoding using cifs

    i really don't know if this will work or not, but it's worth a try.

    try changing the netbios name to the server's ip address like so:
    Code:
    //192.168.1.1/Public /media/HP-Laptop cifs credentials=/root/.smbcredentials,iocharset=utf8,f ile_mode=0777,dir_mode=0777
    (of course, replace "192.168.1.1" with your vista machine's actual ip address).

    try rebooting and see if your share appears either in /media or on your desktop after that.

Page 36 of 137 FirstFirst ... 2634353637384686136 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •