Ubuntu Networking :: Windows XP Pro - Write And Delete From Folder And Lucid
Dec 22, 2010
I just got a new PC with 2TB of HDD space and it's running Ubuntu 10.04.1 32bit. I have created a user for networking, called share and have created a folder within the home folder called public. I then shared the folder and gave 777 access to it as I want this to be public - but for my local network and my later for ssh access. I have installed samba, and under the sharing options I allowed for guest logins and people to write and delete from folder. SO how would I be able to "see" this from my windows machine? It's running XP pro and it has a domain other than workgroup - but that shouldn't affect it should it?
Also, the laptop with XP is on the wireless with and internal IP of 10.0.0.135 and my PC is on the LAN connection with and internal IP of 10.0.0.1 I'm sort of familiar with networks, but I have NO clue as to how to do this.
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
I installed a program in /usr/share on Ubuntu 10.04, but the program was actually bigger than there was room on that partition. It gave me some trouble, because when I tried to delete the folder, it said it couldn't move it to the Trash. When I restarted, it won't let me log in Ubuntu again...
Is it possible to delete this folder (/usr/share/IDE_SE) from Windows? or some other workaround to delete this folder in Ubuntu?
i have just shifted from Windows to openSuse 11.4 it superb really love it.. Mounted all my drives onto openSuse. I am not planning on going back to windows soon, but may dual-boot with Windows 7 after 8 months.So, in the drives there are some folders in each partition 1) $RECYCLE.BIN2) RECYCLER3) System Volume Information4) The File pagefile.sysPlease tell me deletion of which will cause what problems in
share a mount"/RAID" on my server: 192.168.0.2 with everyone on my network.192.168.0.* From what I have listed below I am able to mount the share but I can not write or delete anything. It is almost like it is ro only permissions.
From the Server:
sudo cat /etc/exports [sudo] password for jesse: # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5).
Eventually I need to share 192.168.0.2:/RAID on two OSX computers as well. I read some places where you need to add insecure to your /etc/exports on your server in order for the OSX client to access the the share.
SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.
The title says it all: I have two folders which I share in Ubuntu (10.10), one of them is "public", so I set it to allow guests to create/move/delete files in the folder. Then there is my mother's PC running Windows XP Professional (also one shared folder with write access). When I was using Windows 7, I could create/delete/edit files on my mother's shared folder but now, using Ubuntu, I can only read from it. Same with the shared folder in Ubuntu, I can only read it from XP but not write to it.
I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)
Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?
I have Ubuntu Jaunty 9.04 updated to 9.10 and have downloaded Remaster from Remastersys. I followed all of the instructions, which were simple enough. However, there must be some instructions missing as the process failed. Working with Remaster through Synaptic Manager, the iso was downloaded into my "home" folder into its own Remaster folder. It was not the iso, like you get when downloading a distro from the Internet, which downloads just an iso onto the Desktop. Inside the folder were a bunch of empty files (I know, because I opened them) and an iso . At this point the Remaster instruction stop. They do not say what to do with the other files, or what they have to do with the iso of my Ubuntu layout. So, like any other iso (once I knew which one was the iso of my setup), I double clicked on it and it ran me through the process of accessing the DVD to burn it. Which I did. I tested it and it failed with some kind of message to the effect that certain files were missing or it could not read it. So, I thought, I would have to do the 'hunt and peck' method and experiment a few times like I did with the ordinary distro downloads until I get it right. But first, I would have to dump the Remaster folder in the "home" folder since it took up so much space on my hard drive. Wrong! I come to find out it is in something called "root" and that I do not have permission to do anything with it but "copy" it. Great. Just great! Now what do I do. I tried to change permissions, but was not allowed to do that either. The only thing I could think of - and dread - was the idea of having to wipe my hard drive and go through the whole reinstall procedures, which takes me days, just because Remaster has locked itself into my system - and there is no 'back door' to get out of it.
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've recently switched to Ubuntu from debian, and I'm now running a fresh install of 9.04 32 bit. I have a Windows XP media computer which I would like to be able to browse using smb://. This worked fine on my debian system, but I cannot get it to work on ubuntu. The windows XP machine has a couple of shares, e.g Music. I can access the Music share via smb://, but I cannot write to it. Nautilus just says "Permission denied". I can also see the default shares, e.g. E$, but if I try to open them I am prompted with a password, but no matter what I enter it seems to have no effect. How to proceed?
I just installed Ubuntu server 9.04 and am try to get it all set up but Ive run into a snag with Samba. I cant delete, add, or change files from my windows machine like I could before. Here is my minimalist Samba config that I used on my old ubuntu server:
[global] server string = %h server (Samba, Ubuntu) security = SHARE map to guest = Bad User obey pam restrictions = Yes
Im sure its just one small thing Im forgetting..Its been a while since I played around with my server!
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
I am currently facing one issue with my network. I have several computers and this is what happens, everything works fine when I use the ip address, but when it comes to hostname.
-Windows computers can't ping/see the computer 5 (while it is running linux), but they can see computer 3 while running ubuntu 8.10 and computer 2 while on Mac OS X.
-computers 2 and 3 can see/ping everybody while on Mac/Linux.
-computer 5 can ping everybody.
-computers 1, 2, 3 and 4 (on every OS) can see/ping computer 5 while on windows xp.
Basically, the problem is with computer 5, it can see, but it is not seen by other computers (just when running ubuntu lucid)Computer 5 is supposed to be a printer server, so it must be seen by the others regardless of OS.When I ping computers 5 the TTL is 64, when I ping other computers, TTL is 128. I don't think this means anything, but I am not sure.Initially I thought this was a printer issue, but then I realized is something related to network when I tried to use ping/explore the computer 5 by ip/hostname (it works by ip, but not by hostname).Computer 5 is sending the hostname to the router properly, it appears in the dhcp client list.
Code: mount /dev/sdd1 on /media/E0FD-1813 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush) cp 'Aankhon Aankhon Mein hum tum ho gaye deewane.mp3' /media/E0FD-1813/Music/sumeet/a cp: cannot create regular file '/media/E0FD-1813/Music/sumeet/a/Aankhon Aankhon Mein hum tum ho gaye deewane.mp3': Read-only file system The micro sd card mounts & works as fat32 in windows xp just fine.
I marked this solved when I discovered, after much reconfiguring, I had a faulty Netgear router - I just thought I'd save you reading all this to find the answer.I have 3 machines at home all running Lucid. All have Samba and shared folders but I can't access files on any machine from any other. This worked ok when they were running Karmic. I'm also unable to set up printing across the network from the two machines without local printers. The main machine has 2 printers connected via USB, the others are using WiFi. I'm not using firewalls on any machine.
Filesharing On any machine I go to Places, Network and Nautilus opens at network:/// and shows me 'Windows Network' I open that and see the Workgroup folder which I open and see the folder is empty. (I did see the 3 machines before I completely removed Samba and re-installed a few minutes ago)
Printing On one of the remote machines I go to Add Printer, Select Device, Network Printer, Windows Printer via Samba, Browse but I can't see the machine with the printers attached in the Workgroup. Another clue is that when I look at the printer properties, policies on the main machine all 3 boxes are ticked, Enabled, Accepting jobs (but it says Not published) and Shared.
I am using my Ubuntu machine to serve as a media server and network storage. The problem I have is iTunes on my desktop managed to make 2 copies of every song on the machine so instead of the 30GB I have its up to almost 100gb. I was wondering if there was a way to write a script to go through and delete the duplicates. The duplicates are the same filename as the original except a 1 or 2 following. Wasn't looking forward to deleting 12,000 files by hand.
Long time reader, first time poster. I've got, what has become to me, a brain bender. It seems ACL's are the best way to go, but I am not 100% sure. Each user should be able to create files and modify each others'files, but should not be able to delete any one elses files in a directory.chmod -1777?setfacl?
I installed ubuntu in a desktop pc and without configuring anything i had my network working: 1 windows 7 pc which is sharing a folder with other 3 windows pc and with my ubuntu pc. Yesterday as every day before i entered into win7 shared folder from ubuntu but it asked me for a password which was not set up in win7 pc.
I'm trying to figure out a good way to access a folder within a Windows share from an Ubuntu 10.04 computer. I work at a school which uses a Windows network. Each class has one login and a folder for their work. All the folders are in one Windows share called //fses/class$. Each class does not have access to //fses/class$ (otherwise a student from one class would be able to access another class's folder) - they only have access to their own folder e.g. //fses/class$/3b.
When I try to access a class's folder from an Ubuntu computer I get an error that //fses/class$ cannot be accessed. I've got around it for the moment by using a teacher's credentials, but that's not ideal because then the students have access to other classes' work. I also tried using the 'mount' command e.g. sudo mount -t smbfs -o username=3b,password=**** //fses/class$/3b /media/3b
This did work (although I know it'd be better to use cifs and a credentials file), but only a 'superuser' can do it, and it mounts the folder for all users. I could also give the students superuser permission for the mount command, but this seems like giving them more permission than should really be necessary. Is there any way for a user who is not a superuser to access the folder? I'd like to use something like this. nautilus username=3b,password=**** smb://fses/class$/3b
I have beating my brains out trying to get Lucid Lynx connected to an SME Server 7.4 to automatically mount windows shares. The winbind stuff seems to work okay after I installed a restart script in /etc/network/if-up.d (kudos to OsGnuru & bobpaul for that) There is a short wait on network up before winbind can validate but that is not a show stopper. I have looked at (what I think) is the correct log for pam_mount and it seems to be running through to the end process okay. It looks like it is either not reading the pam_mount.conf.xml file or I have not configured it correctly as it just reports "No Volumes to Mount". I have appended the log file, pam_mount auth, password, session & common conf files as well as the pam_mount.conf.xml file for review.