General :: Samba Does Not Keep Windows Attributes (read Only Files As Read Only For Example)?
Jul 16, 2011
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
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.
I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.
In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.
I can not edit my own .ppt file from samba share. Current desktop OS is windows 7. Samba server having RHEL 5 with following samba packages installed.
Code: libsmbclient0-3.5.6-43.el5 pam_smb-1.1.7-7.2.1 pam_smb-1.1.7-7.2.1 I can able to edit and save the file if I copy this file from samba to local system. But from Samba share it open in read only mode.
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
I need to allow my Windows users to be able to check off "Read-Only" or "Hidden" attributes on our Samba share. Currently its not allowing me to do so.
After searching online, I set the map readonly, hidden and archive option to "yes". Then my entire files were hidden.
I'm having a hard time understanding the concept of the "map" option in smb.conf
[Sorry if this is misplaced; I just couldn't think which category to put it under.] So yeah, I'm almost exclusively using karmic (yay!), but I still have to use that vista install I have smushed in a corner of my HD from time to time. Now, I installed karmic using the default, latest file system (ext4, I believe it is, right?). Last I remember hearing, that presents a bit of a problem, doesn't it?
A real os should at least e able to read and write plain text, you think? But no, when I try to open my text files (mainly made with gedit) some characters are ass, swedish letters rarely work and ', ", / and so on are not represented as the characters I want to see. Is there a easy, fast way to read (and print!) my text files at school, where they have only windows, without spending half an hour fixing the file by hand?
I had some problems with my hdd, I fixed most of the problems with "testdrive" or "testdisk" (cant remember) but I have some bad sections on my disk right where my important data is. I made a backup with "dd" from a live cd. I have the backup with a reading error or 5 so I guess most data is safe? I have the backup of the whole drive on an other hdd and now I need to get just a few folders out of it. I tried in windows but I can't read it. Poweriso can but not the privet folders like /var/ and that folder I need. I had a password on the account so I guess that is part of the problem? How to read the backup file in windows?
I'm saving files onto my NTFS partition from Ubuntu (Karmic, dual boot with Vista Home), but, although the files appear to be there, they cannot be read. The error message is 'File not Found. Check the name and try again'. File appears under Windows Explorer and has a file size of 986K.
i need 2 king of permission 1 is full access and other is read+exceute. it can be by ip by userid or by group. as i am beginner try to find such example cant find it so far see below my smb.conf file
My friend have a pc with only Windows. She does not want to format it for Ubuntu but wants to have a temporal partition (without deleting the original-rented Windows machine) for Ubuntu. How can incorporate the Ubuntu (no demo) without altering beyond her pc?
Second, How can she read files of Ubuntu (documents- ODT File (.odt)) in Windows? How can she print the doc's when the printer only works for Windows?
Third, how can be deleted the Ubuntu from her machine when she be able to return the pc to thye dealer?
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?
I want to install my favorite player WMP11 in Linux, but the Setup fails in validation! i there a possible to force install wmp11 with wine in linux ? I have a lot of music in WAV + tagged with RIFF Tags, wmp can read riff tags...Amarok can't! is there another player that can read RIFF Tags from WAV files?
I have 2 pty devices (/dev/ptya0 -master & /dev/ttya0 -slave). i am able to open both devices. Both devices file descriptor is same. i am writing to master pty but while reading from the slave its not reading.
I have a linux formatted partition. I'm trying to open that partition inside windows 7. And shrink it so that I can have more space. But all the options except delete and help are grayed out. What do I do?
Tried ext2explore but it seems it can only perform a copy of the whole partition.
I'm needing to read the Adam's Assembly Tutorials, that are old EDIT *.txt files, I'm on Linux and I need to read this files.What can I do?Is there any GUI editor that can read the files?There is any way to convert them into another file that is more modern1?
I am a Windows user. I work as a web developer. I would like to start using Linux, slowly perhaps as my main OS. I would like to know more abt Linux, like what Anti-Virus/Firewalls are recommended (if needed?) abit more abt the shell commands. And in general, how do what I do in Windows map to Linux
I need a program that allows windows xp to read EXT4 partition. ext2explore.exe is not good, it doesn't give other windows applications direct access to ext4.
I have used struct termios for reading the key pressed.
Is it possible somehow to write a C code which captures the keystrokes of the keyboard when the focus is on some other window ?
i.e. my c code is in background and there is a window on foreground and i am pressing some keys. will my c code be able to detect the keys pressed somehow ?
I'd like to format my USB in 2 partition: one fat32 (for data switch windows/linux and one for only windows. But when I use gparted to partition my stick in my backtrack installation, windows can only read the fat32, but not the ntfs.