CentOS 5 :: Shared Folder Permissions ?
Jan 17, 2011
I have a SHARE folder with the following permission:
drwxrws--- 2 sales sales 4096 Jan 17 05:11 SHARE
We use WinSCP or SCP to transfer files over to the SHARE folder. The files that are transferred always have the following permissions:
Is there an elegant way of allowing users to copy files over and have the permissions changed automatically?
So that it would look like:
Is creating a cron job to change the permissions from time to time the solution?
View 1 Replies
ADVERTISEMENT
Feb 4, 2010
I am running ubuntu using VirtualBox on a Macbook Pro. I wanted to share my documents folder on the Mac in the virtual machine. I had no issues creating/mounting the share folder on ubuntu. However the file permissions for the shared folder are owned by root.
Code:
drwx------ 1 root root 1088 2010-02-04 10:18 Mac_Share/
I used the following command to mount the folder:
Code:
sudo mount -t vboxsf Share_Documents ~/Mac_Share/
I checked that the folder is mounted I can see what is there using
Code:
sudo ls Mac_Share/
How do I make the folder accessible to the user? Is there another -option needed to do this in the mount command?
View 9 Replies
View Related
Jan 31, 2011
I'm in an organization where each user has a Windows network username, and a central windows server with a folder for each user. I can access the folder using SAMBA and my (windows) network user name. I want to change the permissions (sharing settings) for my folder on this windows server - using only Ubuntu.
Had i been using windows I would simply right-click on the folder, go to permissions settings and add/modify users in the list.First of all, is it even possible to do this using Ubuntu?
View 2 Replies
View Related
Jul 30, 2011
I have Ubuntu server with Apache 2, PHP, and various DBMSs running in VirtualBox on my Mac host for my web development work. To easily create/edit the files I'm working on, I mounted a directory from my Mac host via the VirtualBox shared directory feature to /var/www/. Every file I create on my Mac host has the following permissions on the on the Server: -rw-r--r-- 1 root root 6 2011-07-30 01:27 test.The problem is that most PHPscripts/frameworks/etc.need write access to some files.It is extremely annoying to have to chmod every new file/directory that needs write access.Is there a way to set the correct permissions for the files/directories automatically?
View 2 Replies
View Related
Oct 1, 2009
I'm running CentOS 5.3 fully upgraded on a test server. I'd like to create a virtual machine, and host the VM files in a shared folder located in another windows server.
I can access this folder usign the graphic browser, but I'm inable to mount it in a local folder.
I tried with mount -t smb //server/folder /localfolder/
View 2 Replies
View Related
Aug 11, 2010
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies
View Related
Dec 2, 2009
I'm using ssh2 a PHP extension to create a new folder on my server, however if I try and set the permissions of that
folder above the default of 0755 it creates the folder with that default setting.
It seems like there is some setting preventing me creating a folder with higher permissions e.g 0777.
View 4 Replies
View Related
Jul 7, 2010
I have two users: test1 and test2 When i logged in as test1, I can not change the ownership of a file to test1:test2 it says: Operation not permitted
View 2 Replies
View Related
Aug 13, 2010
I have two partitions: one for Ubuntu 64-bit and another one with the format NTFS only for keeping documents. I have shared one folder of this NTFS partition, but every time I reboot the PC (or shutdown and start again for that matter) the folder is no longer shared.Why?How can I prevent this folder to be un-shared when I reboot the computer?
View 3 Replies
View Related
May 13, 2010
I wanted to enable file sharing in for one of my folders under the home directory. I noticed that the 'not shared' and 'shared' always defaulted back to 'not shared'. And now I see what looks like an electrical plug icon symbol over the folder icon symbol like I might see used for some of the root folders. What does the new icon indicate about the folder attributes and why does file sharing default to 'not shared'?
View 1 Replies
View Related
May 26, 2010
- I have ubuntu installed, and win7 is installed using vbox.
- I know how to set shared folder, so win7 can access the folder in ubuntu.
- I need to have an access to certain folder in win7 from ubuntu.
How can I do that?It is not about samba, right?
View 5 Replies
View Related
Aug 31, 2010
I am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.
View 1 Replies
View Related
Sep 12, 2011
I would like to have a directory
Code:
/home/shared
Where all human users have r/w permission for all files and sub-directories under this path. Can I achieve this buy just setting the permissions correctly or do I need to do something else?
View 7 Replies
View Related
Mar 30, 2011
I am trying to setup 2 individual FTP users. They should both have access to the same directory. They both need to be able to read/write into the directory. But, I want them not to be able to write to each other's files (e.g. delete, remove, rename, etc.).
So let's say the shared directory is: /home/ftp/shared/
UserA needs read/write access to /home/ftp/shared/. UserA should only have write access to his own files. UserB also needs read/write access to /home/ftp/shared/. UserB should only have write access to his own files.
It would be a unix box of sorts, but that is the only restriction. I could use whatever software. I am currently thinking pure-ftpd or vsftp but I am open to all ideas.
View 1 Replies
View Related
Oct 20, 2009
I am running Ubuntu 9.04, and wish to share a folder to be accessed without logging in via Windows Vista. If I set up the share through the nautilus right-click menu and enable "Guest Account", the share is inaccessible. The folder shows up, but it fails to mount. Vista says that it can see the computer, but not the shared folder.
The folder is
/home/william/shared
The only way I can get it to work is if I change the permissions of the folder /home/william to allow Others to access files.
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 7, 2010
I'm having an issue setting up users for file sharing. In Ubuntu 10.04 (which is awesome btw) I right click the file, and share it on the network. I can see it right away on other machine, and login using the main user account on the server, no problem. I get an issue when I try to login to the share using additional account I setup. I get to the login screen, and it seems to accept the username and password as being valid (it doesn't bring up the login screen again), instead it brings up a error message saying it's unable to mount the share. It seems so much like a permission issue. I don't want to grant all kinds of access for these users, what do I do?
View 1 Replies
View Related
Oct 24, 2010
I've just discovered something I've not noticed before in earlier releases. I have samba installed but like to go the easy way when setting up smb shares by right-clicking on a folder and selecting 'Sharing Options' (That, by the way, sets up the configuration for the share in /var/lib/samba/usershares rather than in /etc/samba/smb.conf.)
Trying to get my Mac to be able to access the share, I was trying different modifications to the share with right-click > Sharing Options > Modify Share. Each time I did so, this caused Nautilus to restart - that is, the whole desktop blanked out to just the wallpaper and then my icons slowly reappeared. Worse, a file copy was interrupted. And much worse, a lengthy video encoding using OpenShot was interrupted. Both the latter irretrievably.This is unfortunate behaviour. Has anyone else seen it? Can anyone else confirm this? I couldn't find anything on Launchpad.
View 8 Replies
View Related
Jul 21, 2011
I'm using ubuntu 10.10 inside Virtual Box. i have shared a folder on win7. i can't for the life of me find where that folder is in ubuntu now? maybe i'm missing a step with the whole folder sharing but a shared folder is created and the box is ticked, so where in ubuntu is it?
View 5 Replies
View Related
Sep 16, 2010
I have set up Ubuntu 10.04 with a data partition mounted as /share that I would like to make available to all users. I have only managed to do this so far by using chmod and chown, can I flag the folder so that all users can read and write from it automatically? I'm looking for something a bit like "Ignore Ownership" on a Mac.
View 3 Replies
View Related
Jan 16, 2009
Installed Fedora 10 on my Downloader (just a name for the pc as its mainly used for torrent downloading) computer. But I cant access the fedora shared folder from my windows XP. Accessing XP shared folders from F10 is fine. I have another 2 computer where I have installed Ubuntu 8.10. I have no problem accessing either of the Ubuntu system from my XP computer. The F10 computer comes up fine on my Workgroup list of xp. I double click to go into the F10, a login window pops up and askes for username and password. I used the normal username and root / password to log in. But it keeps popping up for password again and again. BTW, Recently I Installed Win7 Beta on the Windows computer and Surprisingly I can access the Fedora 10 computer shared folder just fine from Win7. But I need to get it working under windows XP.
Here is my smb.conf file
Code:
# Global Settings
[global]
# Network Related Options
# workgroup = NT-Domain-Name or Workgroup-Name, e.g.: MIDEARTH
# server string is the equivalent of the NT Description field netbios name can be used to specify a server name not tied to the hostname. Interfaces lets you configure Samba to use multiple interfaces. If you have multiple network interfaces then you can list the ones. You want to listen on (never omit localhost). Hosts Allow/Hosts Deny lets you restrict who can connect, and you can specify it as a per share option as well
workgroup = THEMATRIX
server string = Samba Server Version %v
netbios name = MYSERVER
;interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
;hosts allow = 127. 192.168.12. 192.168.13 .....
View 5 Replies
View Related
Apr 23, 2010
I've installed Fedora 12 on my laptop and when I share any folder and try to access it over the network using smb://<ip-address/<folder> it says "file or folder smb://..... does not exist"
Now if I simply try to access - smb://<ip-address> on the file browser it shows me shared folders but when I double click I get the same error.
I've SELinux disable, Firewall disable but I'm still not able to access these folders.
I did the exactly same samba configuration on openSUSE and I'm able to access the folder but not with Fedora 12.
View 9 Replies
View Related
Feb 24, 2010
I have a MacBook Pro.I just got it to "mount" the recording/video folders using NFS to connect to my mythbox.Here is my /etc/exports file:
Code:
/var/lib/mythtv 192.168.0.0/255.255.255.0(rw,async,insecure,all_squash,anonuid=1000,anongid=1000)
Here is my hosts.allow file:[code]....
I also made sure that under Settings -> Shared Folders, the "Read-only" box was unchecked.I did all this and I still cannot get the MacBook to write to the mounted folders.
View 2 Replies
View Related
Mar 19, 2010
I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.
View 3 Replies
View Related
May 3, 2010
I am trying to share shared folder via email
myemail@yahoo.com to myemail@hotmail.com
When I click the link and accept button. I get this error:
Something has gone wrong (500)
We've recorded this problem and it will get investigated with the logs. If this problem is urgent, please file a bug report and include this number: OOPS-ID-1585appserver20308. For more general information on Ubuntu One subscribe to our mailing list, check our blog or follow Ubuntu One on twitter and identi.ca to get updates.
If I share a folder via email to abc@yahoo.com is it mean only share to abc@yahoo.com OR every ubuntu one user can access it if they have the link? Let user type in sharing title and message that appear in the email. This is because standard message and title always make people think that is spam virus and they ignore.
Website login problem:
Everytime I login at login.ubuntu. it doesn't automatic link me back to my storage and i have to type change login.ubuntu to one.ubuntu and click sign-in to login.
View 2 Replies
View Related
Jun 9, 2010
lately, after shifting to 10.04, when I copy files from the Ubuntu to my XP shared folders, it goes very very slow. i restarted the router and nothing changed. I can see the folders, but the copy speed is still very slow.
View 2 Replies
View Related
Sep 22, 2010
I need a folder on my network disk, which will be locked with password, and must be entered on all platforms from where the user come (Ubuntu, Win).
View 3 Replies
View Related
Dec 6, 2010
I'm attempting to write a simple BASH shell script to copy some files from one of my Ubuntu machines to another Ubuntu machine's shared folder. I've searched the forums but I haven't found anything on simply using cp across a network.Since Nautilus can do it I presume I should be able to do it from the terminal or from a BASH script -- this might be my first mistake?I have tried the obvious:
cp My_local_file //Name_of_other_ubuntu_computer/shareddocs
and
cp My_local_file smb://Name_of_other_ubuntu_computer/shareddocs
but those don't work. Sharing is enabled for the shareddocs folder.
I have tried mounting the remote shareddocs folder but it seems I need to install some other package to do this? If this is true, how does Nautilus manage to do it without an additional package?
View 4 Replies
View Related
Feb 7, 2011
I was wondering if theres a way to create a folder that would be accessible when I boot with windows or ubuntu? Is there some shared location I can place this folder?
View 4 Replies
View Related
May 10, 2011
I installed samba and set one of the folders on my desktop to share with my win7pc. However, I'm having some difficulty getting it to work. If anyone can provide some insight, I would be very grateful.
Both my ubuntu-pc and my win7-pc belong to the same workgroup. Each pc can ping the other. The ubuntu-pc can "see" that the win7 pc is part of the network; but it cannot communicate with the win7 pc. The Win7-pc does not show that the ubuntu-pc is part of the network.
View 1 Replies
View Related