Ubuntu :: Shared File Changes Ownership When Saved?
Aug 1, 2011
I've created a share using Nautilus on an Ubuntu 11.04 machine and can access it OK from both my Win 7 pc and partner's WinXP machine. We both have Ubuntu accounts and use those to access the share. When an Excel spreadsheet is saved on the WinXP machine the ownership changes and it can then only be opened read-only on the Win7 machine. A further complication could be that the Win7 machine has OpenOffice and the WinXP has MS Office. I'm guessing that XP + Office doesn't really care about or see the permissions, but Win7 + OpenOffice does. Should I be using the share with the same username from both PCs? Is my whole approach misguided?
View 1 Replies
ADVERTISEMENT
Apr 8, 2010
I have a Samba share set up on a SUSE server and users connect to the share via Windows XP workstations. On SUSE, if I create a file and grant ownership to "administrator" and give it 770 permissions for example, when someone goes in to modify that file, they become the owner as soon as they save it, and the permissions change to 470 (r--rwx---+) with an access control list. I want to maintain ownership of the file myself and I don't understand why someone changing the file is changing the permissions on it...This is driving me insane because every time someone saves something I have to go in and chmod 770 it before they can save it again.
View 2 Replies
View Related
Mar 3, 2010
I would like to create an encrypted folder which can be shared by users included in the users group.To do so I used encfs:
Code:
cd somewhere
sudo mkdir encrypted visible
sudo chown root:users encrypted visible
sudo chmod 770 encrypted visible
encfs /somewhere/encrypted /somewhere/visible -o allow_other -o umask='007' -o uid='0'
Now if a user (included in users) creates a new document in the visible folder, that will be
Quote:
-rwxrwx--- 1 root users 0 2010-03-02 14:19 new file
While I would like it to be
Quote:
-rwxrwx--- 1 user users 0 2010-03-02 14:19 new file
Mounting encfs without the option uid='0' gives same results with only difference that instead of root the owner is the user who mounted encfs. Also copying a file owned by different user rather than root goes to the same: for example having in my home a file like
Quote:
-rwxr-x--- 1 me users 0 2010-03-02 14:30 myfile
and trying to copy it to the encrypted shared folder with
Code:
sudo cp -a -v ~/myfile /somewhere/visible
will give something like
Quote:
cp: failed to preserve ownership for `~/myfile': Operation not permitted
And the copied file on the shared encrypted folder will be as usual:
Quote:
-rwxrwx--- 1 root users 0 2010-03-02 14:30 myfile
Is there a way to mount encfs in order to preserve ownership?
View 3 Replies
View Related
Aug 18, 2011
I mounted a shared windows folder from my LAN, and I changed the mount point's ownership on Linux using command line `chown me:me windir`. but when I enter the mount point, and to create files, it mentioned me 'Permission denied', but the file is actually created on the windows' folder, and its ownership is root:root.
this problem puzzled my programs going to run on it. cause them will detect a system returned error, and terminate in a abnormal way.
View 3 Replies
View Related
Jan 15, 2010
how to install libxcb-xlib.so.0?When I start one software and it complains that
"error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory"
I have lastest libxcb1 installed and searched in my system but didnot find a relevant result.
View 3 Replies
View Related
Jan 17, 2010
I installed the latest Gimp beta and it worked fine but then I couldn't open it. I removed it and I reinstalled but it didn't work, so I installed the latest stable version (no beta) and it still does not work, when I open it form Terminal, this is the response:gimp: error while loading shared libraries: libbabl-0.0.so.0: cannot open shared object file: No such file or directory
View 3 Replies
View Related
May 14, 2010
I upgrade the system from 11.1 to 11.2 seems everything work fine, no error no warning, after a reboot the consol show : mount error while loading shared libraries: libvolume_id.so.1: Cannot open shared object file: No such file or directory. when I try to repair the system the repair tool cannot find the root partion,
View 1 Replies
View Related
Feb 11, 2009
I am using Centos 5.2, and I installed all of the available gnome and gnome development libraries available via the "add software" menu item. Still, when running some programs, I get the following error message:
"error while loading shared libraries: libzvt.so.2: cannot open shared object file: No such file or directory"
If I understood it correctly, libzvt.so.2 is part of some gnome libs... where to find and how to install them?
View 5 Replies
View Related
May 5, 2010
just installed Ubuntu 10.04 and installed the flightgear package and the fgfs-base package. I ran fgfs from a terminal and got this error:
Code:
$ fgfs
fgfs: error while loading shared libraries: libOpenThreads.so.12: cannot open shared object file: No such file or directory
$
So then I did:
Code:
sudo apt-get install libopenthreads12
and it gave me these errors:
[Code]...
View 1 Replies
View Related
Aug 3, 2010
I'm trying to run Kega Fusion on my laptop, which can now FINALLY run Linux (ATI drivers finally work on it), and I can't get the emulator to work..
Code:
brandon@brandon-laptop:~/Desktop/Fusion$ ./Fusion
./Fusion: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
brandon@brandon-laptop:~/Desktop/Fusion$ uname -a
Linux brandon-laptop 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/Linux
brandon@brandon-laptop:~/Desktop/Fusion$
Help? I have the ATI proprietary drivers installed. I tried without them and it still wouldn't work. (And OpenGL is seemingly working as Compiz Fusion is running. I also tried with Compiz disabled but the same error pops up).
View 3 Replies
View Related
Aug 21, 2010
I'm running lucid 32-bit. I get this error when I try to run the installer for Unreal Tournament GOTY:
Code:
Verifying archive integrity... All good. Uncompressing Unreal Tournament 436-multilanguage.goty Installer. /home/computer/.setup1548: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory computer@computer-desktop:~/UnrealInstall$ I tried installing libgtk1.2 (as told by some people in other threads), but couldn't do that:
Code:
E: Couldn't find package libgtk1.2
However, I checked that I do have libgtk2.0
So what should I do?
View 2 Replies
View Related
Mar 2, 2010
I have an application consisting of different processes and all these processes are linked to shared libraries. I start the application (spawn all the different processes) as say user1. Now with the application up, if I run a process p1, the process gets activated and works. However, if I start the same process p1 as a different user, say user2, which is completely different from user1 the process complains of
"error while loading shared libraries:...."
I set LD_RUN_PATH both in compile and runtime environment. LD_LIBRARY_PATH is set correctly in both places.
All the above works if I set the absolute path of the required shared libraries in /etc/ld.so.conf file and rebuild the /etc/ld.so.cache
View 1 Replies
View Related
Aug 16, 2010
Alright, just loaded a fresh copy of OpenSuSE 11.3 x64, went to update manager and let it update, came back and computer was shut down. After booting it back up, I cannot update any software, nor run any commands.
Here is my output:
Code: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory I've tried searching for this error, some people came back saying to run this:
Code:
But all that happens is this:
Code:
Nor ls work either so I'm stuck and thinking about a reinstall.
I don't understand how this system could be so messed up after a failed update.. Used to trust SuSE, not sure anymore after this incident..
View 4 Replies
View Related
Nov 9, 2010
Installed Skype but it wont launch. Running the latest Opensuse Gnome. Ive uninstalled it and reinstalled several times but always with the same error. When I try to run it from terminal I get this:
ig@linux-ljqk:~> skype
skype: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Ive just now uninstalled skype and tried reinstalling it again via yast, but now I get the following error [PK_TMP_DIR|dir:///var/tmp/TmpDir.xftzR0] Repository already exists.
View 9 Replies
View Related
Jan 26, 2011
After finally getting my wireless/graphics drivers working yesterday (thanks to this forum ) I startx to realize that not a single KDE/Qt application will launch, along with Firefox, or Chrome/Chromium. (I did a full install from the DVD, not deselecting anything, and when I upgraded to -current, I also did the same.)
Ark said:
Quote:
ark: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
but I managed to fix that one by commenting out 'aaa_elflibs' in /etc/slackpkg/blacklist (on a recommendation from #slackware), and running slackpkg upgrade-all again, but that's the only one (afaik) that was fixed. Ark still doesn't work, but it doesn't show that error anymore. When I run it, a box pops up that says "Unable to find Ark's KPart component, please check your installation."
Kate still says:
Quote:
kate: error while loading shared libraries: libkemoticons.so.4: cannot open shared object file: No such file or directory
Now, konsole, firefox, and Chromium's errors are a little different.
Konsole:
Quote:
konsole: symbol lookup error: /usr/lib/libphonon.so.4: undefined symbol: _ZN9QMetaType15registerTypedefEPKci
Firefox and Chrome basically say the same thing
Quote:
/usr/lib/firefox-3.6.13/firefox-bin: symbol lookup error: /usr/lib/mozilla/plugins/skypebuttons.so: undefined symbol: _ZN9QListData11detach_growEPii
again, I am completely baffled here, as I had kate, konsole and ark running before I upgraded to -current.
View 5 Replies
View Related
Mar 16, 2010
I want to run blender in Ubuntu910,but get below
test@ubuntu:~$ blender
blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
View 4 Replies
View Related
Jul 7, 2010
I need to install a script into my Gimp folder which is owned by root. I tried "chown my name usr/ share/ gimp2.0/scripts" in terminal, but it tells me folder does not exist. I know I'm missing something, but I haven't done this in a while, so I'm not sure what it is.
View 2 Replies
View Related
Mar 10, 2011
I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:
I try cd Desktop says that there is no such directory.
I tried /home/me/Desktop same thing.
View 5 Replies
View Related
Aug 23, 2011
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
View 1 Replies
View Related
Jan 1, 2011
I installed Ubuntu from the alternate cd a few days ago to save space and resources on a very old laptop. (install command line, then add what I wanted) But I have struck an interesting problem with file permissions. Various programs like synaptic, leafpad, pcman, Banshee, all require I enter the root password to execute them (or sudo command from terminal). I want to change synaptic from root ownership to sudo and leafpad etc to execute without using the sudo command in terminal. I could get comments on the commands before I execute them in terminal and if I am introducing a security problem, as I am still learning bash. $ sudo chown sudo:sudo synaptic
I would still be asked for my sudo password before being able to open synaptic? As in standard Ubuntu instead of root password.$ sudo chmod 777 leafpad pcman Banshee All users could open these programs from the menu? I have my admin account and a general account which I use for everyday things like surfing the net and listening to music.
View 6 Replies
View Related
May 16, 2011
I have an Ubuntu machine running NFS4 server and a plugapps (arch linux) machine connecting as the client. The plugbox is running an rsync job to backup the home directory from Ubuntu to a local USB HDD.
All of the files in the destination have owner nobody and group nobody.
Ubuntu /etc/exports:
Code:
/home 192.168.2.1/24(rw,sync,no_subtree_check,no_root_squash)
plugbox /etc/fstab
[Code].....
how I can mantain the file owners. I have the UID's and passwords sync'd between the two machines for both root and the user who's home dir is being backed up.
View 9 Replies
View Related
Aug 30, 2010
I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.
Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls
The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?
View 2 Replies
View Related
Jul 6, 2011
It seems I had some kind of intrusion and I found 6 files changed its ownership to user 1035 and group 1035, I don't know how but I need to change them back to its original owner (root) because one of them is the ls command and the other is the ifconfig how can I revert them to its original state? I cant do it with chown.
View 3 Replies
View Related
Aug 4, 2010
I am running a shell script as the user "redhatuser01" and this script creates a files in the home directory of another user "redhatuser02" (/home/redhatuser02/sample.txt) but the ownership of this file is currently "redhatuser01". How can i change the "ownership of this file to the user "redhatuser02"? (My constraint is that I cannot sudo as redhatuser2 and create the file).
View 5 Replies
View Related
May 25, 2011
process of migrating my server to Ubuntu Server 11.04 after my Server 2003 installation suffered a HDD failure. All my data is on an NTFS drive (not ideal but not much I can do about that). I can currently only read the disk as a user. root has ownership of everything on the disk. Whenever I try and change ownership of a file it doesn't bring up any errors but when running ls -l it shows that nothing has actually changed.
View 2 Replies
View Related
Jun 17, 2011
Why would I need to be root to change the ownership of a file? Example: I'm logged in as dwadmin and I've created a file:
-rw-rw---- 1 dwadmin dgw 0 Jun 17 07:46 testing.txt
I want to change the ownership to another user, but am getting the following error: chown 511 testing.txt chown: changing ownership of `testing.txt': Operation not permitted
View 5 Replies
View Related
Sep 15, 2010
Is it possible to let users create the directory or files but only user "yat" can delete them.suppose other users are geller ross joe from group FH , who have privileges. whenever these users create file or dir , they should not able delete it.BottomLine: Group users should create file but should not be able to delete them.By the way using sgid bit didnt help .
View 14 Replies
View Related
Oct 11, 2010
I created a folder structure as root and now need to transfer ownership to an ordinary user.
This question is linked to this one - [URL]
I have a folder /srv/app-share that needs to be visible/writeable to user1
I tried (as root):
root@server [/]# chown -R user1:user1 /srv/
But that did not work.
View 1 Replies
View Related
Oct 14, 2010
I`ve been given a project to design a program that will interface with a hardware device through the parallel port.And so far it`s not going go. I managed to write the programe an compiled it, but when runing it the compiler says: 'changing ownership of'and then the file name then it continues to say, 'operation not permitted'.
View 9 Replies
View Related
Feb 15, 2010
I have recently switched email pop3 client to Sylpheed. I need to import a large address book.When using the feature "Import comma delimited File", Sylpheed seems to carry out the operation and then crashes, closing.The new address file is not saved.
I see that this is a known bug in this version of Sylpheed, so I tried to install a later version.The latest version in the repository is 2.4.8-2, but versions exist upto 2.7.1.I tried to install this from the tar.gz file, but could find no effective instructions and no easy way to do this. Part of the problem seems to be that later Sylpheeds are written for versions of Ubuntu later than 8.04.So which way do I jump? Try to fix the 2.4.8 version? Or try to find a way to install 2.7.1?
View 1 Replies
View Related